vtils

Home > validator > yup > NumberSchema > moreThan

yup.NumberSchema.moreThan() method

应大于

Signature:

moreThan(min: Refable<number>, message?: NumberLocale['moreThan']): this;

Parameters

Parameter Type Description
min Refable<number>  
message NumberLocale[‘moreThan’] (Optional)

Returns:

this