Type Aliasswift 6.0.1Swift
CountableClosedRange
typealias CountableClosedRange<Bound> = ClosedRange<Bound> where Bound : Strideable, Bound.Stride : SignedInteger
typealias CountableClosedRange<Bound> = ClosedRange<Bound> where Bound : Strideable, Bound.Stride : SignedInteger
import Swift
@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.