Hierarchy (view full)

Constructors

Properties

_input: bigint
_output: bigint
_type: bigint
max: ((value, message?) => ZodBigInt)

Type declaration

    • (value, message?): ZodBigInt
    • Parameters

      • value: bigint
      • Optional message: ErrMessage

      Returns ZodBigInt

min: ((value, message?) => ZodBigInt)

Type declaration

    • (value, message?): ZodBigInt
    • Parameters

      • value: bigint
      • Optional message: ErrMessage

      Returns ZodBigInt

spa: ((data, params?) => Promise<SafeParseReturnType<bigint, bigint>>)

Alias of safeParseAsync

Type declaration

create: ((params?) => ZodBigInt)

Type declaration

    • (params?): ZodBigInt
    • Parameters

      • Optional params: {
            description?: string;
            errorMap?: ZodErrorMap;
            invalid_type_error?: string;
            required_error?: string;
        } & {
            coerce?: boolean;
        }

      Returns 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

  • Parameters

    • description: string

    Returns this

  • Parameters

    • value: bigint
    • Optional message: ErrMessage

    Returns ZodBigInt

  • Parameters

    • value: bigint
    • Optional message: ErrMessage

    Returns ZodBigInt

  • Returns boolean

  • Returns boolean

  • Parameters

    • value: bigint
    • Optional message: ErrMessage

    Returns ZodBigInt

  • Parameters

    • value: bigint
    • Optional message: ErrMessage

    Returns ZodBigInt

  • Parameters

    • value: bigint
    • Optional message: ErrMessage

    Returns ZodBigInt

  • Parameters

    • Optional message: ErrMessage

    Returns ZodBigInt

  • Parameters

    • Optional message: ErrMessage

    Returns ZodBigInt

  • Parameters

    • Optional message: ErrMessage

    Returns ZodBigInt

  • Parameters

    Returns bigint

  • Parameters

    Returns Promise<bigint>

  • Parameters

    • Optional message: ErrMessage

    Returns ZodBigInt

Generated using TypeDoc