import { tuple } from "https://deno.land/x/valibot@v0.5.0/src/schemas/tuple/index.ts";
Creates a tuple schema.
Parameters
items: TTupleItems
The items schema.
optional
pipe: Pipe<TupleOutput<TTupleItems, TTupleRest>>A validation and transformation pipe.
Returns
TupleSchema<TTupleItems, TTupleRest>
A tuple schema.
Creates a tuple schema.
Parameters
items: TTupleItems
The items schema.
optional
pipe: Pipe<TupleOutput<TTupleItems, TTupleRest>>A validation and transformation pipe.
Returns
TupleSchema<TTupleItems, TTupleRest>
A tuple schema.
Creates a tuple schema.
Parameters
items: TTupleItems
The items schema.
rest: TTupleRest
The rest schema.
optional
pipe: Pipe<TupleOutput<TTupleItems, TTupleRest>>A validation and transformation pipe.
Returns
TupleSchema<TTupleItems, TTupleRest>
A tuple schema.
Creates a tuple schema.
Parameters
items: TTupleItems
The items schema.
rest: TTupleRest
The rest schema.
optional
pipe: Pipe<TupleOutput<TTupleItems, TTupleRest>>A validation and transformation pipe.
Returns
TupleSchema<TTupleItems, TTupleRest>
A tuple schema.