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

size

inline val SparseIntArray.size: Int

Returns the number of key/value pairs in the collection.