import { z } from "https://dotland.deno.dev/x/zod@v3.23.7/mod.ts";
const { ZodBigInt } = z;
Methods
protected
setLimit(kind: "min" | "max",
value: bigint,
inclusive: boolean,
message?: string,
_addCheck(check: ZodBigIntCheck)
_parse(input: ParseInput): ParseReturnType<bigint>
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