Home > utils > desensitize
文本脱敏。
Signature:
export declare function desensitize(text: string, options?: DesensitizeOptions): string;
Parameter | Type | Description |
---|---|---|
text | string | 待脱敏的文本 |
options | DesensitizeOptions | (Optional) 脱敏选项 |
Returns:
string