Hierarchy (View Summary)

Constructors

Properties

_def: ZodNaNDef
_input: number
_output: number
_type: number
spa: (
    data: unknown,
    params?: Partial<ParseParams>,
) => Promise<SafeParseReturnType<number, number>>

Alias of safeParseAsync

create: (params?: RawCreateParams) => ZodNaN

Accessors

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

Methods

  • Parameters

    Returns string

  • Type Parameters

    • B extends string | number | symbol

    Parameters

    • Optionalbrand: B

    Returns ZodBranded<ZodNaN, B>

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns number

  • Parameters

    Returns Promise<number>