Module

x/zod/types.ts>ZodNumber#setLimit

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method ZodNumber.prototype.setLimit
import { ZodNumber } from "https://dotland.deno.dev/x/zod@v3.22.1/types.ts";

Parameters

kind: "min" | "max"
value: number
inclusive: boolean
optional
message: string