Skip to main content
Module

x/hex/mod.ts>fp.removeFirstMatchFromObject

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function fp.removeFirstMatchFromObject
import { fp } from "https://deno.land/x/hex@0.5.15/mod.ts";
const { removeFirstMatchFromObject } = fp;

Parameters

instance: Record<string | number | symbol, T>
predicate: (
value: T,
key: string | number | symbol,
instance: Record<string | number | symbol, T>,
) => boolean

Returns

Record<string | number | symbol, T>