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