vtils

Home > validator > yup > DateSchema > max

yup.DateSchema.max() method

Signature:

max(limit: Refable<Date>, message?: DateLocale['max']): this;

Parameters

Parameter Type Description
limit Refable<Date>  
message DateLocale[‘max’] (Optional)

Returns:

this