Type Parameters

Hierarchy-Diagram

UML class diagram of ZodIntersection
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for a public property in the UML class diagram public property
icon for a public method in the UML class diagram public method
underlined static property/method
italic abstract property/method

Hierarchy (view full)

Constructors

Properties

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

Alias of safeParseAsync

Type declaration

create: (<T_1 extends ZodTypeAny, U_1 extends ZodTypeAny>(left: T_1, right: U_1, params?: RawCreateParams) => ZodIntersection<T_1, U_1>)

Type declaration

Accessors

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

Methods

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean