Replace _.every with array.everypro
Replace Lodash _.every
with array.every
.

Why is this refactoring helpful?
You can express many _.every
calls with standard JavaScript. This refactoring reduces the dependency on Lodash.
What do I need to consider?
Setting _.iteratee
affects how _.every
behaves. This can lead to differences between _.every
and the JavaScript Array.every
.
Configuration
- Code Assist ID (for the configuration file):
replace-lodash-every-with-javascript-array-every
- You can configure custom keyboard shortcuts with this code action kind:
refactor.convert.p42.replace-lodash-every-with-javascript-array-every
Related Code Assists
- Replace _.some with array.some
- Replace _.filter with array.filter
- Replace _.each and _.forEach with array.forEach
- Replace _.map with array.map