vtils

Home > validator > yup > NumberSchema > positive

yup.NumberSchema.positive() method

正数

Signature:

positive(message?: NumberLocale['positive']): this;

Parameters

Parameter Type Description
message NumberLocale[‘positive’] (Optional)

Returns:

this