Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/src/index.ts>tupleAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function tupleAsync
import { tupleAsync } from "https://deno.land/x/valibot@v0.11.1/src/index.ts";

Creates an async tuple schema.

Type Parameters

TTupleItems extends TupleShapeAsync
optional
TTupleRest extends BaseSchema | BaseSchemaAsync | undefined = undefined

Parameters

The items schema.

A validation and transformation pipe.

Creates an async tuple schema.

Type Parameters

TTupleItems extends TupleShapeAsync
optional
TTupleRest extends BaseSchema | BaseSchemaAsync | undefined = undefined

Parameters

The items schema.

optional
error: string

The error message.

A validation and transformation pipe.

Creates an async tuple schema.

Type Parameters

TTupleItems extends TupleShapeAsync
optional
TTupleRest extends BaseSchema | BaseSchemaAsync | undefined = undefined

Parameters

The items schema.

The rest schema.

A validation and transformation pipe.

Creates an async tuple schema.

Type Parameters

TTupleItems extends TupleShapeAsync
optional
TTupleRest extends BaseSchema | BaseSchemaAsync | undefined = undefined

Parameters

The items schema.

The rest schema.

optional
error: string

The error message.

A validation and transformation pipe.