rulvar API reference / @rulvar/core / maskSecretsDeep
Function: maskSecretsDeep()
ts
function maskSecretsDeep<T>(value): T;Defined in: packages/core/src/l0/serialization.ts:165
Deep-masks every string value in a JSON tree; non-strings pass through. Returns the input identity when nothing matched, so the default-on policy costs no allocation on clean events.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
value | T |
Returns
T