Μετάβαση στο περιεχόμενο

redactValue

Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.

redactValue(value, keys?): unknown

Defined in: packages/safe-stringify/dist/safeStringify.d.ts:46

Returns a copy of value with the given keys masked with REDACTED.

Copies in the 'clone' mode of SanitizeOptions: Date, RegExp, Map, Set, and binary values keep their classes; an Error becomes a plain Error with the same name, message, stack, and own enumerable properties; any other object becomes a plain object. A cyclic reference becomes '[Circular]', streams and Multer files become placeholder strings, and functions are returned by reference.

unknown

readonly string[]

unknown