The object to filter.
The callback function used to filter the object properties.
The function used to get the keys of the object.
const obj = { a: 1, b: 2, c: 3 };
objFilter(obj, (value, key) => value > 1);
//=> { b: 2, c: 3 }
Generated using TypeDoc
Immutably filters the properties of an object based on a predicate function.