struct PartialRangeFrom.Iterator
Inheritance |
IteratorProtocol
View Protocol Hierarchy →
|
---|---|
Import | import Swift |
Instance Methods
Advances to the next element and returns it, or nil
if no next
element exists.
Once nil
has been returned, all subsequent calls return nil
.
Returns: The next element in the underlying sequence, if a next
element exists; otherwise, nil
.
Declaration
mutating func next() -> PartialRangeFrom<Bound>.Bound?
The iterator for a
PartialRangeFrom
instance.