Home > validator > yup > NumberSchema > nonNegativeInteger
非负整数
Signature:
nonNegativeInteger(message?: NumberLocale['nonNegativeInteger']): this;
Parameter | Type | Description |
---|---|---|
message | NumberLocale[‘nonNegativeInteger’] | (Optional) |
Returns:
this