Transformer.canTransform method
Transformer › canTransform
Determines if the transformer can transform the given value.Signature:
canTransform(value: unknown, key: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| value | unknown | The value to check. |
| key | string | The key of the value to check. |
Returns: boolean — A boolean indicating if the transformer can transform the value.