import { arrayAsync } from "https://deno.land/x/valibot@v0.19.0/src/schemas/array/arrayAsync.ts";
Creates an async array schema.
Type Parameters
TArrayItem extends BaseSchema | BaseSchemaAsync
Parameters
item: TArrayItem
The item schema.
optional
pipe: PipeAsync<Output<TArrayItem>[]>A validation and transformation pipe.
Returns
An async array schema.
Creates an async array schema.
Type Parameters
TArrayItem extends BaseSchema | BaseSchemaAsync
Parameters
item: TArrayItem
The item schema.
optional
error: ErrorMessageThe error message.
optional
pipe: PipeAsync<Output<TArrayItem>[]>A validation and transformation pipe.
Returns
An async array schema.