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

x/fun/mod.ts>decoder.Intersection

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
type alias decoder.Intersection
import { type decoder } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { Intersection } = decoder;

The Intersection type is used to associate two or more DecodeErrors as an intersection of errors.

definition: { readonly tag: "Intersection"; readonly errors: readonly [DecodeError, DecodeError, ...DecodeError[]]; }