Replace _.some with array.some

Replace Lodash _.some with array.some.

Replace _.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 Assists

Learn More

Available In