Slackbot
04/15/2019, 4:32 AMtseisel
04/15/2019, 6:10 AMfun <T> Iterable.forEach(action: (T) -> Unit)
tseisel
04/15/2019, 6:12 AMforEach
? It is already available as an extension function in the Kotlin stdlib, and not only for Java 8 :
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/for-each.html