vtils

Home > validator > yup > MixedSchema > default

yup.MixedSchema.default() method

Signature:

default(value: T | (() => T)): this;

Parameters

Parameter Type Description
value T | (() => T)  

Returns:

this