Module

x/zod/index.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.20/index.ts";

Parameters

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