The total number of key-value pairs that the dictionary can contain without allocating new storage.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
The total number of key-value pairs that the dictionary can contain without allocating new storage.
SDK
Framework
var is Empty: Bool
A Boolean value that indicates whether the dictionary is empty.
var count: Int
The number of key-value pairs in the dictionary.