import { arrayAsync } from "https://deno.land/x/valibot@v0.5.0/src/index.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
pipe: PipeAsync<Output<TArrayItem>[]>A validation and transformation pipe.
Returns
An async array schema.