class zod.ZodTuple
extends ZodType<OutputTypeOfTupleWithRest<T, Rest>, ZodTupleDef<T, Rest>, InputTypeOfTupleWithRest<T, Rest>>
import { zod } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { ZodTuple } = zod;
Type Parameters
optional
T extends [ZodTypeAny, ...ZodTypeAny[]] | [] = [ZodTypeAny, ...ZodTypeAny[]]optional
Rest extends ZodTypeAny | null = nullMethods
_parse(input: ParseInput): ParseReturnType<this["_output"]>
Static Properties
create: <T extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: T, params?: RawCreateParams) => ZodTuple<T, null>