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.28.1/mod.ts";

Tuple schema type.

Type Parameters

TItems extends TupleItems
optional
TRest extends BaseSchema | undefined = undefined
optional
TOutput = TupleOutput<TItems, TRest>
definition: BaseSchema<TupleInput<TItems, TRest>, TOutput> & { type: "tuple"; items: TItems; rest: TRest; message: ErrorMessage | undefined; pipe: Pipe<TupleOutput<TItems, TRest>> | undefined; }