import { intersect } from "https://deno.land/x/valibot@v0.28.1/src/schemas/intersect/intersect.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.