Skip to main content
Module

x/fun/decoder.ts>Union

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 Union
import { type Union } from "https://deno.land/x/fun@v2.0.0-alpha.12/decoder.ts";

The Union type is used to associate two or more DecoderErrors as a union of errors.

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