onEach

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

Performs the given action on each element.