Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/index.ts>z.ZodNumber#int

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodNumber.prototype.int
import { z } from "https://deno.land/x/zod@v3.22.2/index.ts";
const { ZodNumber } = z;

Parameters

optional
message: errorUtil.ErrMessage