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

x/valibot/src/schemas/tuple/index.ts>TupleSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias TupleSchemaAsync
import { type TupleSchemaAsync } from "https://deno.land/x/valibot@v0.28.1/src/schemas/tuple/index.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; }