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

remove

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

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