Replace _.some with array.somepro

Replace Lodash _.some with array.some.

Refactoring (Convert)
Modernization
ES5
P42 for VS Code
Pro & Business
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.

Configuration

Related Code Assists

Learn More

Available In