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

x/valibot/mod.ts>LooseTupleSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface LooseTupleSchemaAsync
implements BaseSchemaAsync<[...InferTupleInput<TItems>, ...unknown[]], [...InferTupleOutput<TItems>, ...unknown[]], LooseTupleIssue | InferTupleIssue<TItems>>
Re-export
import { type LooseTupleSchemaAsync } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Loose tuple schema async type.

Type Parameters

TItems extends TupleItemsAsync
TMessage extends ErrorMessage<LooseTupleIssue> | undefined

Properties

readonly
type: "loose_tuple"

The schema type.

readonly
reference: looseTupleAsync

The schema reference.

readonly
expects: "Array"

The expected property.

readonly
items: TItems

The items schema.

readonly
message: TMessage

The error message.