forEach

inline fun <T> Iterable<T>.forEach(action: (T) -> Unit)(source)

Calls action for each element in iteration order.