Type Aliasswift 6.0.1Swift
Indices
typealias Indices = Range<Int>
Other members in extension
Typealiases
typealias Index
A type that represents a valid position in the collection.
Instance members
let count: Int
The number of elements in this collection.
var endIndex: Repeated<Element>.Index
The collection’s “past the end” position—that is, the position one greater than the last valid subscript argument.
let repeatedValue: Element
The value of every element in this collection.
var startIndex: Repeated<Element>.Index
The position of the first element in a nonempty collection.
subscript(Int
) -> Element Accesses the element at the specified position.