forEach

inline fun forEach(action: (Int) -> Unit)(source)

Iterates elements from first to last, invoking action for each element.