foldIndexed

inline fun <E, R> Point<E>.foldIndexed(initial: R, operation: (index: UInt, acc: R, E) -> R): R(source)
inline fun <E, R> Vector<E>.foldIndexed(initial: R, operation: (index: UInt, acc: R, E) -> R): R(source)