you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 years ago

I am not sure if JS has something similar, but this often helps by a lot

It does, the some/every array methods would achieve the same results. I use them quite often myself!

  • source
  • parent