vtils

Home > validator > yup > ArraySchema > max

yup.ArraySchema.max() method

Signature:

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

Parameters

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

Returns:

this