vtils

Home > validator > yup > NumberSchema > negative

yup.NumberSchema.negative() method

负数

Signature:

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

Parameters

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

Returns:

this