Instance Propertyswift 6.0.3Swift

endIndex

The dictionary’s “past the end” position—that is, the position one greater than the last valid subscript argument.

var endIndex: Dictionary<Key, Value>.Index { get }

If the collection is empty, endIndex is equal to startIndex.