vtils

Home > validator > yup > MixedSchema > isValid

yup.MixedSchema.isValid() method

Signature:

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

Parameters

Parameter Type Description
value T  
options SchemaValidateOptions (Optional)

Returns:

Promise<boolean>