mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Fixes #345.
This commit is contained in:
@@ -205,8 +205,8 @@
|
|||||||
var found = false;
|
var found = false;
|
||||||
if (obj == null) return found;
|
if (obj == null) return found;
|
||||||
if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1;
|
if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1;
|
||||||
any(obj, function(value) {
|
found = any(obj, function(value) {
|
||||||
if (found = value === target) return true;
|
if (value === target) return true;
|
||||||
});
|
});
|
||||||
return found;
|
return found;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user