Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fun/mod.ts>decoder.SchemableDecoder

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
variable decoder.SchemableDecoder
import { decoder } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { SchemableDecoder } = decoder;

The canonical implementation of Schemable for Decoder. It contains the methods unknown, string, number, boolean, literal, nullable, undefinable, record, array, tuple, struct, partial, intersect, union, and lazy.