forEach

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

Performs the given action on each element.

The operation is terminal.

Since Kotlin

1.0