forEachIndexed

open fun forEachIndexed(action: (Int, T) -> Unit)(source)

For each element in the stream, call the given function

Since

0.5.1

Parameters

action

The action to call