Hierarchy (View Summary)

Constructors

Properties

_input: bigint
_output: bigint
_type: bigint
max: (value: bigint, message?: ErrMessage) => ZodBigInt
min: (value: bigint, message?: ErrMessage) => ZodBigInt
spa: (
    data: unknown,
    params?: Partial<ParseParams>,
) => Promise<SafeParseReturnType<bigint, bigint>>

Alias of safeParseAsync

create: (
    params?: {
        description?: string;
        errorMap?: ZodErrorMap;
        invalid_type_error?: string;
        message?: string;
        required_error?: string;
    } & { coerce?: boolean },
) => ZodBigInt

Accessors

  • get description(): undefined | string
  • Returns undefined | string

  • get maxValue(): null | bigint
  • Returns null | bigint

  • get minValue(): null | bigint
  • Returns null | bigint

Methods

  • Parameters

    Returns string

  • Type Parameters

    • B extends string | number | symbol

    Parameters

    • Optionalbrand: B

    Returns ZodBranded<ZodBigInt, B>

  • Parameters

    • description: string

    Returns this

  • Parameters

    • value: bigint
    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Parameters

    • value: bigint
    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Returns boolean

  • Returns boolean

  • Parameters

    • value: bigint
    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Parameters

    • value: bigint
    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Parameters

    • value: bigint
    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Parameters

    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Parameters

    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Parameters

    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Parameters

    Returns bigint

  • Parameters

    Returns Promise<bigint>

  • Parameters

    • Optionalmessage: ErrMessage

    Returns ZodBigInt

  • Parameters

    • kind: "max" | "min"
    • value: bigint
    • inclusive: boolean
    • Optionalmessage: string

    Returns ZodBigInt