Skip to main content
Module

x/fun/mod.ts>decoder.Index

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

The Index type is used to contextualize an error that occurred at an index in an Array or Tuple.

definition: { readonly tag: "Index"; readonly index: number; readonly property: Property; readonly error: DecodeError; }