forEachReverse

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

For each reversed implementation with from and to.

Parameters

from

starting index

to

ending index