Class ZodPipeline<A, B>

Type Parameters

Hierarchy (View Summary)

Constructors

Properties

_input: A["_input"]
_output: B["_output"]
_type: B["_output"]
spa: (
    data: unknown,
    params?: Partial<Zod.z.ParseParams>,
) => Promise<Zod.z.SafeParseReturnType<A["_input"], B["_output"]>>

Alias of safeParseAsync

Accessors

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

Methods

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns B["_output"]

  • Parameters

    Returns Promise<B["_output"]>