@rendley/sdk - v1.12.6
    Preparing search index...

    Class ZodBigInt

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

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

    Alias of safeParseAsync

    create: (
        params?: {
            description?: string;
            errorMap?: Zod.ZodErrorMap;
            invalid_type_error?: string;
            required_error?: string;
        } & { coerce?: boolean },
    ) => Zod.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

      • description: string

      Returns this

    • Parameters

      • value: bigint
      • Optionalmessage: ErrMessage

      Returns Zod.ZodBigInt

    • Parameters

      • value: bigint
      • Optionalmessage: ErrMessage

      Returns Zod.ZodBigInt

    • Parameters

      • value: bigint
      • Optionalmessage: ErrMessage

      Returns Zod.ZodBigInt

    • Parameters

      • value: bigint
      • Optionalmessage: ErrMessage

      Returns Zod.ZodBigInt

    • Parameters

      • value: bigint
      • Optionalmessage: ErrMessage

      Returns Zod.ZodBigInt