Hi! Just a short question about Iterable/Squence. ...
# announcements
o
Hi! Just a short question about Iterable/Squence. Is there an operator like
forEach
but that doesn't end the squence/iterator. I can do it with
map
and then return the item in the end, but I guess there is an operator for this already.
Copy code
list.map { it -> 
  doSomethingWithIt(it)
  it
}
o
Thanks!