import { intersectAsync } from "https://deno.land/x/valibot@v0.30.0/src/schemas/intersect/index.ts";
Creates an async intersect schema.
Type Parameters
TOptions extends IntersectOptionsAsync
Parameters
options: TOptions
The intersect options.
optional
pipe: PipeAsync<IntersectInput<TOptions>>A validation and transformation pipe.
Returns
An async intersect schema.
Creates an async intersect schema.
Type Parameters
TOptions extends IntersectOptionsAsync
Parameters
options: TOptions
The intersect options.
optional
message: ErrorMessageThe error message.
optional
pipe: PipeAsync<IntersectInput<TOptions>>A validation and transformation pipe.
Returns
An async intersect schema.