mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Bump to v4.0.1.
This commit is contained in:
@@ -20,9 +20,9 @@ import basePickBy from './internal/basePickBy';
|
||||
* // => { 'b': '2' }
|
||||
*/
|
||||
function omitBy(object, predicate) {
|
||||
predicate = baseIteratee(predicate);
|
||||
return basePickBy(object, function(value) {
|
||||
return !predicate(value);
|
||||
predicate = baseIteratee(predicate, 2);
|
||||
return basePickBy(object, function(value, key) {
|
||||
return !predicate(value, key);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user