Type Alias

ClosedRange.Element

A type representing the sequence’s elements.

Declaration

typealias Element = Bound
Available when Bound conforms to Strideable and Bound.Stride conforms to SignedInteger.

Discussion

See Also

Supporting Types

enum ClosedRange.Index

A type that represents a position in the collection.

typealias ClosedRange.Iterator

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

typealias ClosedRange.SubSequence

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