Type Parameters

Hierarchy (View Summary)

Constructors

Properties

spa: (
    data: unknown,
    params?: Partial<z.ParseParams>,
) => Promise<
    z.SafeParseReturnType<
        z.InputTypeOfTupleWithRest<T, Rest>,
        z.OutputTypeOfTupleWithRest<T, Rest>,
    >,
>

Alias of safeParseAsync

create: <T_1 extends [] | [z.ZodTypeAny, ...z.ZodTypeAny[]]>(
    schemas: T_1,
    params?: z.RawCreateParams,
) => z.ZodTuple<T_1, null>

Accessors

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

  • get items(): T
  • Returns T

Methods

  • Parameters

    Returns string

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean