Instance MethodSwift
next()
Advances to the next element and returns it, or nil
if no next element exists.
Available when
Element
conforms toStrideable
mutating func next() -> Element?
Overview
Once nil
has been returned, all subsequent calls return nil
.