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

forEach

inline fun SparseIntArray.forEach(action: (key: Int, value: Int) -> Unit): Unit

Performs the given action for each key/value entry.