forEachByIndexUntil

inline fun <T> Array<T>.forEachByIndexUntil(from: Int = 0, to: Int = size, block: (Int, T) -> Unit)(source)
inline fun <T> List<T>.forEachByIndexUntil(from: Int = 0, to: Int = size, block: (Int, T) -> Unit)(source)