forEachReverseIndexed

inline fun <T> Array<T>.forEachReverseIndexed(from: Int = lastIndex, to: Int = 0, action: (T, index: Int) -> Unit)
inline fun IntArray.forEachReverseIndexed(from: Int = lastIndex, to: Int = 0, action: (Int, index: Int) -> Unit)

For each reversed indexed implementation with from and to.

Parameters

from

starting index

to

ending index