vtils

Home > validator > yup > NumberSchema > integer

yup.NumberSchema.integer() method

整数

Signature:

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

Parameters

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

Returns:

this