Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/zod/mod.ts>ZodTuple

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
class ZodTuple
extends ZodType<OutputTypeOfTupleWithRest<T, Rest>, ZodTupleDef<T, Rest>, InputTypeOfTupleWithRest<T, Rest>>
import { ZodTuple } from "https://deno.land/x/netzo@0.5.63/deps/zod/mod.ts";

Type Parameters

optional
T extends [ZodTypeAny, ...ZodTypeAny[]] | [] = [ZodTypeAny, ...ZodTypeAny[]]
optional
Rest extends ZodTypeAny | null = null

Properties

readonly
items

Methods

_parse(input: ParseInput): ParseReturnType<this["_output"]>
rest<Rest extends ZodTypeAny>(rest: Rest): ZodTuple<T, Rest>

Static Properties

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