import { tupleAsync } from "https://deno.land/x/valibot@v0.28.1/src/schemas/tuple/index.ts";
Creates an async tuple schema.
Type Parameters
TItems extends TupleItemsAsync
Parameters
items: TItems
The items schema.
optional
pipe: PipeAsync<TupleOutput<TItems, undefined>>A validation and transformation pipe.
Returns
An async tuple schema.
Creates an async tuple schema.
Type Parameters
TItems extends TupleItemsAsync
Parameters
items: TItems
The items schema.
optional
message: ErrorMessageThe error message.
optional
pipe: PipeAsync<TupleOutput<TItems, undefined>>A validation and transformation pipe.
Returns
An async tuple schema.
Creates an async tuple schema.
Type Parameters
TItems extends TupleItemsAsync
TRest extends BaseSchema | BaseSchemaAsync | undefined
Returns
An async tuple schema.
Creates an async tuple schema.
Type Parameters
TItems extends TupleItemsAsync
TRest extends BaseSchema | BaseSchemaAsync | undefined
Parameters
items: TItems
The items schema.
rest: TRest
The rest schema.
optional
message: ErrorMessageThe error message.
optional
pipe: PipeAsync<TupleOutput<TItems, TRest>>A validation and transformation pipe.
Returns
An async tuple schema.