Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/schemas/index.ts>intersect

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function intersect
import { intersect } from "https://deno.land/x/valibot@v0.28.1/src/schemas/index.ts";

Creates an intersect schema.

Parameters

options: TOptions

The intersect options.

optional
pipe: Pipe<IntersectOutput<TOptions>>

A validation and transformation pipe.

Returns

An intersect schema.

Creates an intersect schema.

Parameters

options: TOptions

The intersect options.

optional
message: ErrorMessage

The error message.

optional
pipe: Pipe<IntersectOutput<TOptions>>

A validation and transformation pipe.

Returns

An intersect schema.

Creates an intersect schema.

Parameters

options: TOptions

The intersect options.

optional
pipe: Pipe<IntersectOutput<TOptions>>

A validation and transformation pipe.

Returns

An intersect schema.

Creates an intersect schema.

Parameters

options: TOptions

The intersect options.

optional
message: ErrorMessage

The error message.

optional
pipe: Pipe<IntersectOutput<TOptions>>

A validation and transformation pipe.

Returns

An intersect schema.