vtils

Home > validator > yup > MixedSchema > transform

yup.MixedSchema.transform() method

Signature:

transform(transformer: (this: this, currentValue: T, originalValue: T) => T): this;

Parameters

Parameter Type Description
transformer (this: this, currentValue: T, originalValue: T) => T  

Returns:

this