Replace _.filter with array.filter

Replace Lodash _.filter with array.filter.

Replace _.filter with array.filter

Why is this refactoring helpful?

You can express many _.filter calls with standard JavaScript. This refactoring reduces the dependency on Lodash.

What do I need to consider?

Setting _.iteratee affects how _.filter behaves. This can lead to differences between _.filter and the JavaScript Array.filter.


Related Code Assists

Learn More

Available In