vtils

Home > validator > yup > NumberSchema > negativeInteger

yup.NumberSchema.negativeInteger() method

负整数

Signature:

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

Parameters

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

Returns:

this