---
title: "isSuperset(of:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/rangeset/issuperset(of:)"
---

# isSuperset(of:)

Returns a Boolean value that indicates whether this range set is a superset of the given set.

## Declaration

```swift
func isSuperset(of other: RangeSet<Bound>) -> Bool
```

## Parameters

- `other`: A range set to compare against.

## Return Value

Return Value true if this range set is a superset of other; otherwise, false.
