Contents

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.