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
interface TupleSchemaAsync
import { type TupleSchemaAsync } from "https://deno.land/x/valibot@v0.30.0/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>

Properties

type: "tuple"

The schema type.

items: TItems

The tuple items schema.

rest: TRest

The tuple rest schema.

message: ErrorMessage | undefined

The error message.

pipe: PipeAsync<TupleOutput<TItems, TRest>> | undefined

The validation and transformation pipeline.