Zodiac API Documentation - v0.0.3
    Preparing search index...

    Class ZodBigInt

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _type: bigint
    _output: bigint
    _input: bigint
    "~standard": Props<bigint, bigint>
    spa: (
        data: unknown,
        params?: InexactPartial<ParseParams>,
    ) => Promise<SafeParseReturnType<bigint, bigint>>

    Alias of safeParseAsync

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

    Accessors

    • get description(): undefined | string

      Returns undefined | string

    • get minValue(): null | bigint

      Returns null | bigint

    • get maxValue(): null | bigint

      Returns null | bigint

    Methods

    • Parameters

      • data: unknown

      Returns Result<bigint> | Promise<Result<bigint>>

    • Parameters

      • description: string

      Returns this

    • 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

      • value: bigint
      • Optionalmessage: ErrMessage

      Returns ZodBigInt

    • Parameters

      • Optionalmessage: ErrMessage

      Returns ZodBigInt

    • Parameters

      • Optionalmessage: ErrMessage

      Returns ZodBigInt

    • Parameters

      • Optionalmessage: ErrMessage

      Returns ZodBigInt

    • Parameters

      • Optionalmessage: ErrMessage

      Returns ZodBigInt

    • Parameters

      • value: bigint
      • Optionalmessage: ErrMessage

      Returns ZodBigInt