next()
Advances to the next entity and returns it.
Declaration
mutating func next() -> Element?Return Value
Calling this method advances the iterator to the next entity and returns it. If there is no next element, returns nil.
Advances to the next entity and returns it.
mutating func next() -> Element?Calling this method advances the iterator to the next entity and returns it. If there is no next element, returns nil.