Join Slack
Powered by
Easy question. There is `.forEach()` on `Iterator`...
# getting-started
p
poohbar
12/30/2022, 6:32 PM
Easy question. There is
.forEach()
on
Iterator
but not
.map()
. What is the right way to map over an iterator?
poohbar
12/30/2022, 6:38 PM
solution:
iterator.asSequence().map()...
👍 3
2
Views
Open in Slack
Previous
Next