Returns a partial copy of an object containing only the keys with fn predicate returns true
fn
pickBy(x => x > 2, {a: 1, b: 2, c: 3, d: 4}); //=> {c: 3, d: 4}
The object to copy from
A new object with only properties from names on it.
names
Generated using TypeDoc
Returns a partial copy of an object containing only the keys with
fnpredicate returns true