Class: SafeObjectTransformer
Object transformer safely transforms an object by removing all the methods (except toString), private properties and based on the given parameters.
Implements
Constructors
new SafeObjectTransformer()
new SafeObjectTransformer(obj
): SafeObjectTransformer
Parameters
obj
string
| Record
<string
, unknown
>
Returns
Defined in
Methods
transform()
transform(tag
): null
| string
Transforms the given tag.
Parameters
tag
The tag that triggered the transformer.
Returns
null
| string