struct DictionaryGenerator<Key : Hashable, Value>
Inheritance |
GeneratorType
View Protocol Hierarchy →
|
---|---|
Import | import Swift |
Instance Methods
mutating func next()
Advance to the next element and return it, or nil
if no next
element exists.
Requires: No preceding call to self.next()
has returned nil
.
Declaration
mutating func next() -> (Key, Value)?
A generator over the members of a
Dictionary<Key, Value>
.