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

x/valibot/mod.ts>ArraySchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface ArraySchema
Re-export
import { type ArraySchema } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Array schema type.

Type Parameters

TItem extends BaseSchema<unknown, unknown, BaseIssue<unknown>>
TMessage extends ErrorMessage<ArrayIssue> | undefined

Properties

readonly
type: "array"

The schema type.

readonly
reference: array

The schema reference.

readonly
expects: "Array"

The expected property.

readonly
item: TItem

The array item schema.

readonly
message: TMessage

The error message.