Skip to main content
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.
Go to Latest
variable decoder.SchemableDecoder
import { decoder } from "https://deno.land/x/fun@v.2.0.0-alpha.11/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.