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

contains

inline operator fun SparseIntArray.contains(key: Int): Boolean

Returns true if the collection contains key.