forEach

inline fun <T> Array<out T>.forEach(start: Int, end: Int = this.size, action: (T) -> Unit)

For each implementation with start and end.

Parameters

start

starting index

end

ending index