z.ZodBigInt
import { z } from "https://esm.sh/zod@3.25.76/index.d.cts";
const { ZodBigInt } = z;class ZodBigInt extends ZodType<bigint, ZodBigIntDef, bigint> { }
max: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt;
min: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt;
get minValue(): bigint | null;
get maxValue(): bigint | null;
protected setLimit(
kind: "min" | "max",
value: bigint,
inclusive: boolean,
message?: string,
): ZodBigInt;§Extends
§
ZodType<bigint, ZodBigIntDef, bigint>
[src]§Properties
§
max: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt
[src]§
min: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt
[src]§Methods
§
_addCheck(check: ZodBigIntCheck): ZodBigInt
[src]§
_getInvalidInput(input: ParseInput): INVALID
[src]§
_parse(input: ParseInput): ParseReturnType<bigint>
[src]§
negative(message?: errorUtil.ErrMessage): ZodBigInt
[src]§
nonnegative(message?: errorUtil.ErrMessage): ZodBigInt
[src]§
nonpositive(message?: errorUtil.ErrMessage): ZodBigInt
[src]§
positive(message?: errorUtil.ErrMessage): ZodBigInt
[src]§Static Properties
§
create: (params?: RawCreateParams & {
[src]coerce?: boolean;
}) => ZodBigInt