Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/frugal/dep/zod.ts>z.ZodTuple

A frugal web framework
Go to Latest
import { z } from "https://deno.land/x/frugal@0.3.0/dep/zod.ts";
const { ZodTuple } = z;

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>