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

remove

fun SparseIntArray.remove(key: Int, value: Int): Boolean

Removes the entry for key only if it is mapped to value.