Edgewise API
Docs
GitHub
Preparing search index...
helpers
redact
Function redact
redact
(
text
:
string
,
o
?:
CommonOptions
&
{
mask
?:
(
s
:
Pick
<
Span
,
"start"
|
"end"
|
"type"
>
)
=>
string
;
model
?:
ModelRef
;
threshold
?:
number
;
types
?:
string
[]
;
}
,
)
:
Promise
<
string
>
Mask personal data.
Parameters
text
:
string
o
:
CommonOptions
&
{
mask
?:
(
s
:
Pick
<
Span
,
"start"
|
"end"
|
"type"
>
)
=>
string
;
model
?:
ModelRef
;
threshold
?:
number
;
types
?:
string
[]
;
}
= {}
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Docs
GitHub
Edgewise API
Loading...
Mask personal data.