Creates a new object composed of the properties that satisfy the predicate function.
Source object
Function invoked per property
A new object with filtered properties
pickBy({ a: 1, b: '2', c: 3 }, val => typeof val === 'number');// => { a: 1, c: 3 } Copy
pickBy({ a: 1, b: '2', c: 3 }, val => typeof val === 'number');// => { a: 1, c: 3 }
1.2.0
Creates a new object composed of the properties that satisfy the predicate function.