---
title: indices
framework: swift
role: symbol
role_heading: Instance Property
path: swift/inlinearray/indices
---

# indices

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

## Declaration

```swift
var indices: Range<InlineArray<count, Element>.Index> { get }
```

## Discussion

Discussion note: O(1)
