Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists.
(params?: string | core.$ZodCheckNumberFormatParams)
| 971 | max(value: number, params?: string | core.$ZodCheckLessThanParams): this; |
| 972 | /** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */ |
| 973 | int(params?: string | core.$ZodCheckNumberFormatParams): this; |
| 974 | /** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */ |
| 975 | safe(params?: string | core.$ZodCheckNumberFormatParams): this; |
| 976 | positive(params?: string | core.$ZodCheckGreaterThanParams): this; |
no outgoing calls