Class ZodBranded<T, B>

Type Parameters

Hierarchy (View Summary)

Constructors

Properties

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

Alias of safeParseAsync

Accessors

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

Methods

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Returns T