function forEachIndexed
source · line 14public
public fun <T> Sequence<T>.forEachIndexed(action: (Long, T) -> Unit): Unit
Extension receiver: Sequence<T>
Consumes this sequence. Runs the action with each element and its zero-based Long index.
parameter action
source · line 14public
action: (Long, T) -> Unit
parameter receiver
source · line 14public
Sequence<T>
type parameter T
source · line 14public
T