if you really want your "forking" version as a one...
# announcements
j
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() })