Class ZodIntersection<T, U>

Type Parameters

Hierarchy (view full)

Constructors

Properties

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

Alias of safeParseAsync

Type declaration

create: (<T_1, U_1>(left, right, params?) => ZodIntersection<T_1, U_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 T["_output"] & U["_output"]

  • Parameters

    Returns Promise<T["_output"] & U["_output"]>

Generated using TypeDoc