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

set

inline operator fun SparseBooleanArray.set(key: Int, value: Boolean): Unit

Allows the use of the index operator for storing values in the collection.