Skip to main content
Module

x/valibot/mod.ts>TupleSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface TupleSchemaAsync
Re-export
import { type TupleSchemaAsync } from "https://deno.land/x/valibot@v0.30.0/mod.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.