core-ktx / androidx.util / android.util.SparseArray / forEach

forEach

inline fun <T> SparseArray<T>.forEach(action: (key: Int, value: T) -> Unit): Unit

Performs the given action for each key/value entry.