vtils

Home > validator > yup > NumberSchema > min

yup.NumberSchema.min() method

最小值

Signature:

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

Parameters

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

Returns:

this