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

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

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

Creates an intersection schema.

Type Parameters

TIntersectionOptions extends IntersectionOptions

Parameters

intersection: TIntersectionOptions

The intersection schema.

optional
error: string

The error message.