Type Aliasswift 6.0.1Swift
ClosedRangeIndex
This declaration has been renamed to ClosedRange.Index.
This declaration was obsoleted in Swift 5.0.
typealias ClosedRangeIndex<T> = ClosedRange<T>.Index where T : Strideable, T.Stride : SignedInteger
This declaration has been renamed to ClosedRange.Index.
This declaration was obsoleted in Swift 5.0.
typealias ClosedRangeIndex<T> = ClosedRange<T>.Index where T : Strideable, T.Stride : SignedInteger
import Swift
@frozen enum Index
@frozen struct ClosedRange<Bound> where Bound : Comparable
An interval from a lower bound up to, and including, an upper bound.
protocol Strideable<Stride> : Comparable
A type representing continuous, one-dimensional values that can be offset and measured.
associatedtype Stride : Comparable, SignedNumeric
A type that represents the distance between two values.
protocol SignedInteger : BinaryInteger, SignedNumeric
An integer type that can represent both positive and negative values.