Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/mod.ts>TupleSchemaAsync

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

Tuple schema async type.

Type Parameters

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