withEach

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

Performs the given action with each element as a receiver.

Sources

Link copied to clipboard