Type Alias


A type that provides the sequence’s iteration interface and encapsulates its iteration state.


typealias Iterator = IndexingIterator<ClosedRange<Bound>>
Available when Bound conforms to Strideable and Bound.Stride conforms to SignedInteger.


See Also

Supporting Types

enum ClosedRange.Index

A type that represents a position in the collection.

typealias ClosedRange.Element

A type representing the sequence’s elements.

typealias ClosedRange.SubSequence

A sequence that represents a contiguous subrange of the collection’s elements.