---
title: subranges
framework: swift
role: symbol
role_heading: Instance Property
path: swift/discontiguousslice/subranges
---

# subranges

The set of subranges that are available through this discontiguous slice.

## Declaration

```swift
let subranges: RangeSet<Base.Index>
```
