mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
@@ -206,7 +206,7 @@
|
|||||||
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;
|
||||||
found = any(obj, function(value) {
|
found = any(obj, function(value) {
|
||||||
if (value === target) return true;
|
return value === target;
|
||||||
});
|
});
|
||||||
return found;
|
return found;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user