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

x/hex/fp/filter-object.ts>filterObject

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function filterObject
import { filterObject } from "https://deno.land/x/hex@v0.4.9/fp/filter-object.ts";

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>