---
title: AnyRandomAccessCollection.Indices
framework: swift
role: symbol
role_heading: Type Alias
path: swift/anyrandomaccesscollection/indices
---

# AnyRandomAccessCollection.Indices

A type that represents the indices that are valid for subscripting the collection, in ascending order.

## Declaration

```swift
typealias Indices = DefaultIndices<AnyRandomAccessCollection<Element>>
```
