foldRightIndexed

inline fun <R> foldRightIndexed(initial: R, operation: (index: Int, element: Int, acc: R) -> R): R(source)

Accumulates values, starting with initial, and applying operation to each element in the IntList in reverse order.