onEach

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

Performs the given action on each element.