vtils

Home > validator > yup > MixedSchema > validate

yup.MixedSchema.validate() method

Signature:

validate(value: T, options?: SchemaValidateOptions): Promise<T>;

Parameters

Parameter Type Description
value T  
options SchemaValidateOptions (Optional)

Returns:

Promise<T>