Skip to main content
Module

x/zod/mod.ts>ZodNumberDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface ZodNumberDef
implements ZodTypeDef
import { type ZodNumberDef } from "https://deno.land/x/zod@3.0.0-alpha.39/mod.ts";

Properties

minimum: null | { value: number; inclusive: boolean; message?: string; }
maximum: null | { value: number; inclusive: boolean; message?: string; }
isInteger: false | { message?: string; }