forEachIndexed

inline fun <T> Array<out T>.forEachIndexed(start: Int, end: Int = this.size, action: (index: Int, T) -> Unit)

For each indexed implementation with start and end.

Parameters

start

starting index

end

ending index