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