logoalt Hacker News

andrekandreyesterday at 11:13 PM1 replyview on HN

  > I always struggle to remember if ‘filter’ keeps elements that match the condition or removes them
if you had parameter names maybe it might help?

`filter(where:)` like in swift...?


Replies

mikebenfieldyesterday at 11:15 PM

Doesn't seem to help the ambiguity to me.