Skip to main content
Module

x/fun/mod.ts>decoder.Key

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

The Key type is used to contextualize an error that occurred at a key in a struct.

definition: { readonly tag: "Key"; readonly key: string; readonly property: Property; readonly error: DecodeError; }