Skip to main content
Module

x/valibot/mod.ts>TupleSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias TupleSchema
Re-export
import { type TupleSchema } from "https://deno.land/x/valibot@v0.13.1/mod.ts";

Tuple schema type.

Type Parameters

TTupleItems extends TupleShape
optional
TTupleRest extends BaseSchema | undefined = undefined
optional
TOutput = TupleOutput<TTupleItems, TTupleRest>
definition: BaseSchema<TupleInput<TTupleItems, TTupleRest>, TOutput> & { schema: "tuple"; tuple: { items: TTupleItems; rest: TTupleRest; }; }