forEach

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

Performs the given action for each element in this sublist.

Parameters

action

The function to be executed