vtils

Home > validator > yup > ArraySchema > required

yup.ArraySchema.required() method

Signature:

required(message?: MixedLocale['required']): this;

Parameters

Parameter Type Description
message MixedLocale[‘required’] (Optional)

Returns:

this