Type Parameters

Hierarchy (View Summary)

Constructors

Properties

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

Alias of safeParseAsync

create: <T_1 extends [] | [ZodTypeAny, ...ZodTypeAny[]]>(
    schemas: T_1,
    params?: RawCreateParams,
) => 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