mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -12,7 +12,7 @@ import baseEach from './_baseEach.js';
|
||||
function baseSome(collection, predicate) {
|
||||
var result;
|
||||
|
||||
baseEach(collection, function(value, index, collection) {
|
||||
baseEach(collection, (value, index, collection) => {
|
||||
result = predicate(value, index, collection);
|
||||
return !result;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user