---
title: RangeSet.Ranges.SubSequence
framework: swift
role: symbol
role_heading: Type Alias
path: swift/rangeset/ranges-swift.struct/subsequence
---

# RangeSet.Ranges.SubSequence

A collection representing a contiguous subrange of this collection’s elements. The subsequence shares indices with the original collection.

## Declaration

```swift
typealias SubSequence = Slice<RangeSet<Bound>.Ranges>
```

## Discussion

Discussion The default subsequence type for collections that don’t define their own is Slice.
