vtils

Home > validator > yup > MixedSchema > validateSync

yup.MixedSchema.validateSync() method

Signature:

validateSync(value: T, options?: SchemaValidateOptions): T;

Parameters

Parameter Type Description
value T  
options SchemaValidateOptions (Optional)

Returns:

T