---
title: AnyCollection.Indices
framework: swift
role: symbol
role_heading: Type Alias
path: swift/anycollection/indices
---

# AnyCollection.Indices

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

## Declaration

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