Instance Property (Default implementation)swift 6.0.1Swift
indices
The indices that are valid for subscripting the collection, in ascending order.
var indices: Range<Self.Index> { get }
Implements
var indices: Self.Indices
The indices that are valid for subscripting the collection, in ascending order.
var indices: Self.Indices
The indices that are valid for subscripting the collection, in ascending order.
var indices: Self.Indices
The indices that are valid for subscripting the collection, in ascending order.
Other members in extension
Instance members
func distance(from: Self.Index, to: Self.Index
) -> Self.Index.Stride Returns the distance between two indices.
func index(Self.Index, offsetBy: Self.Index.Stride
) -> Self.Index Returns an index that is the specified distance from the given index.
func index(after: Self.Index
) -> Self.Index Returns the position immediately after the given index.
func index(before: Self.Index
) -> Self.Index Returns the position immediately after the given index.