Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
395 stars 73 forks source link

chore(Tech): Add some iterator helpers #1230

Closed Kruptein closed 1 year ago

Kruptein commented 1 year ago

In certain places I have iterators on which I would like to map or filter, but have to convert them to an array first, causing an extra iteration without any use.

There is an active TC39 working group around this, but that has not yet landed in main ts, so I've just added some snippets until it's available in plain ts.