resolvePiiRedactor
resolvePiiRedactor(
piiRedaction:boolean|PiiRedactor|undefined):PiiRedactor|undefined
Defined in: src/lib/pii/redactor.ts:631Â
Resolve a piiRedaction option (true | false | PiiRedactor) into a
redactor instance or undefined. true creates a fresh redactor; a
redactor-like value is used as-is. Any other truthy value is a programming
error: it warns loudly and disables redaction rather than failing silently.
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
PiiRedactor | undefined
Last updated on