Skip to main content
Module

x/fun/decoder.ts>empty

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

Construct an empty DecodeError. This is a many that contains no errors.

Examples

Example 1

import * as D from "./decoder.ts";

const result = D.empty(); // DecodeError