Skip to main content
Module

x/fun/mod.ts>map.lookupWithKey

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

Parameters

S: Comparable<K>

Returns

(k: K) => <A>(ta: ReadonlyMap<K, A>) => Option<[K, A]>