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

size

inline val <T> SparseArray<T>.size: Int

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