Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class z.ZodBigInt
extends ZodType<bigint, ZodBigIntDef>
import { z } from "https://deno.land/x/netzo@0.3.66/deps/zod/mod.ts";
const { ZodBigInt } = z;

Properties

max
readonly
maxValue
min
readonly
minValue

Methods

protected
setLimit(
kind: "min" | "max",
value: bigint,
inclusive: boolean,
message?: string,
)
gt(value: bigint, message?: errorUtil.ErrMessage)
gte(value: bigint, message?: errorUtil.ErrMessage)
lt(value: bigint, message?: errorUtil.ErrMessage)
lte(value: bigint, message?: errorUtil.ErrMessage)
multipleOf(value: bigint, message?: errorUtil.ErrMessage)
negative(message?: errorUtil.ErrMessage)
nonnegative(message?: errorUtil.ErrMessage)
nonpositive(message?: errorUtil.ErrMessage)
positive(message?: errorUtil.ErrMessage)

Static Properties

create: (params?: RawCreateParams & { coerce?: boolean; }) => ZodBigInt