The dictionary’s “past the end” position—that is, the position one greater than the last valid subscript argument.
SDK
- Xcode 8.3+
Framework
- Swift Standard Library
Declaration
var endIndex: Dictionary<Key, Value>.Index { get }
Discussion
If the collection is empty, end is equal to start.
Complexity: Amortized O(1) if the dictionary does not wrap a bridged NSDictionary; otherwise, the performance is unspecified.