Skip to main content
Module

x/valibot/mod.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.25.0/mod.ts";

Creates an intersect schema.

Parameters

options: TOptions

The intersect options.

optional
pipe: Pipe<IntersectInput<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<IntersectInput<TOptions>>

A validation and transformation pipe.

Returns

An intersect schema.

Creates an intersect schema.

Parameters

options: TOptions

The intersect options.

optional
pipe: Pipe<IntersectInput<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<IntersectInput<TOptions>>

A validation and transformation pipe.

Returns

An intersect schema.