Module

x/zod/index.ts>z.ZodTuple#rest

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodTuple.prototype.rest
import { z } from "https://dotland.deno.dev/x/zod@v3.20.4/index.ts";
const { ZodTuple } = z;

Type Parameters

Rest extends ZodTypeAny

Returns

ZodTuple<T, Rest>