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

x/valibot/src/schemas/tuple/tuple.ts>TupleSchema

The modular and type safe schema library for validating structural data 🤖
Go to Latest
import { type TupleSchema } from "https://deno.land/x/valibot@v0.41.0/src/schemas/tuple/tuple.ts";

Tuple schema type.

Type Parameters

TItems extends TupleItems
TMessage extends ErrorMessage<TupleIssue> | undefined

Properties

readonly
type: "tuple"

The schema type.

readonly
reference: tuple

The schema reference.

readonly
expects: "Array"

The expected property.

readonly
items: TItems

The items schema.

readonly
message: TMessage

The error message.