Class ZodNullable<T>

Type Parameters

Hierarchy (view full)

Constructors

Properties

_input: null | T["_input"]
_output: null | T["_output"]
_type: null | T["_output"]
spa: ((data, params?) => Promise<SafeParseReturnType<null | T["_input"], null | T["_output"]>>)

Alias of safeParseAsync

Type declaration

create: (<T_1>(type, params?) => ZodNullable<T_1>)

Type declaration

Accessors

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

Methods

  • Parameters

    Returns string

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns null | T["_output"]

  • Parameters

    Returns Promise<null | T["_output"]>

  • Returns T

Generated using TypeDoc