vtils

Home > validator > yup > MixedSchema > required

yup.MixedSchema.required() method

Signature:

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

Parameters

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

Returns:

this