Skip to content

SkipPrivatePropertyTransformer.canTransform method

SkipPrivatePropertyTransformer › canTransform

Determines if the transformer can transform the given value.

Signature:

canTransform(_value: unknown, key: string): boolean

Parameters:

ParameterTypeDescription
_valueunknownThe value to check.
keystringThe key of the value to check.

Returns: booleanA boolean indicating if the transformer can transform the value.