Replace _.some with array.some
Replace Lodash _.some
with array.some
.

Why is this refactoring helpful?
You can express many _.some
calls with standard JavaScript. This refactoring reduces the dependency on Lodash.
What do I need to consider?
Setting _.iteratee
affects how _.some
behaves. This can lead to differences between _.some
and the JavaScript Array.some
.
Related Code Actions
- Replace _.every with array.every
- Replace _.filter with array.filter
- Replace _.each and _.forEach with array.forEach
- Replace _.map with array.map