Skip to main content
Module

x/valibot/mod.ts>arrayAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function arrayAsync
import { arrayAsync } from "https://deno.land/x/valibot@v0.6.0/mod.ts";

Creates an async array schema.

Parameters

The item schema.

optional
pipe: PipeAsync<Output<TArrayItem>[]>

A validation and transformation pipe.

Returns

An async array schema.

Creates an async array schema.

Parameters

The item schema.

optional
error: string

The error message.

optional
pipe: PipeAsync<Output<TArrayItem>[]>

A validation and transformation pipe.

Returns

An async array schema.