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

x/valibot/src/schemas/array/arrayAsync.ts>arrayAsync

The modular and type safe schema library for validating structural data 🤖
Go to Latest
function arrayAsync
import { arrayAsync } from "https://deno.land/x/valibot@v0.19.0/src/schemas/array/arrayAsync.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: ErrorMessage

The error message.

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

A validation and transformation pipe.

Returns

An async array schema.