https://kotlinlang.org logo
m

menegatti

02/01/2018, 3:45 PM
also you could have called
collection.forEach { it.call() }
, although not much better 😛 Jakob’s suggestion is the way to go