foldRightIndexed

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

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