Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.30.0/mod.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.