Filter, as in map/filter/reduce, should be called 'select'
It's literally named wrong. Like you're trying to "filter out" bad values. I have to "map" it to "select" in my mind everytime to figure out if I should return true or false to select which values I want... 😔
I dunno maybe it's just me 🙃
4 months ago