Skip to main content
Module

x/fun/mod.ts>decoder.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 decoder.empty
import { decoder } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { empty } = decoder;

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