https://kotlinlang.org logo
#announcements
Title
# announcements
b

bod

04/10/2020, 11:50 AM
Hello, World! Isn't there an equivalent of
forEach
on collections but with a lambda with the element as a receiver (instead of
it
)?
j

jw

04/10/2020, 12:22 PM
You probably want #stdlib, but no there isn't. I occasionally write an
.applyEach
for that.
❤️ 1
b

bod

04/10/2020, 12:31 PM
ok, thanks a lot 👍
2 Views