Instance Property

indices

The indices that are valid for subscripting the collection, in ascending order.

Declaration

var indices: Range<Base.Index> { get }
Available when Index conforms to Strideable, Indices is Range<Self.Index>, and Index.Stride is Int.