Type Parameters

Hierarchy (View Summary)

Constructors

Properties

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

Alias of safeParseAsync

create: <T_1 extends ZodType<any, any, any, T_1>>(
    type: T_1,
    params?: RawCreateParams,
) => ZodNullable<T_1>

Accessors

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

Methods

  • Parameters

    Returns string

  • Type Parameters

    • B extends string | number | symbol

    Parameters

    • Optionalbrand: B

    Returns ZodBranded<ZodNullable<T>, B>

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns null | T["_output"]

  • Parameters

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

  • Returns T