zod
zod copied to clipboard
add `ZodNumber.isFinite`, make `ZodNumber.isInt` true if `.multipleOf(int)`.
Hey 👋
-
Forgot to add
.isFinite@ #1546. -
A multiple of an integer is an integer, so let's make
.isInttruthy in that case. This might allow people to ditch.int()if all they need is.multipleOf(int)but had something that usesisInt.
Deploy Preview for guileless-rolypoly-866f8a ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | 8af7f2510d1d76988cd65fc276abb06730c00bf1 |
| Latest deploy log | https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/639db3db8cf37d000910d04b |
| Deploy Preview | https://deploy-preview-1714--guileless-rolypoly-866f8a.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
I dig it. Thanks!