Join Slack
Communities
Powered by
if you really want your "forking" version as a one...
# announcements
j
jw
02/20/2016, 9:32 PM
if you really want your "forking" version as a one-liner change the second param of the above method to be
transform: (Iterable<T>) -> Iterable<T>
so you get
mapIf({ i % 2 }, { it.map().map().whatever() })
Open in Slack
Previous
Next