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