vtils

Home > validator > yup > StringSchema > max

yup.StringSchema.max() method

Signature:

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

Parameters

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

Returns:

this