Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/lib/mod.ts>fp.mapObject

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
variable fp.mapObject
import { fp } from "https://deno.land/x/hex@0.6.5/src/lib/mod.ts";
const { mapObject } = fp;

type

<T1, T2>(instance: Record<string | number | symbol, T1>, predicate: (
value: T1,
key: string | number | symbol,
instance: Record<string | number | symbol, T1>,
) => Record<string | number | symbol, T2> | null
) => Record<string | number | symbol, T2>