---
title: "unionSet(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsmutableorderedset/unionset(_:)"
---

# unionSet(_:)

Adds each object in another given set to the receiving mutable ordered set, if not present.

## Declaration

```swift
func unionSet(_ other: Set<AnyHashable>)
```

## Parameters

- `other`: The set of objects to add to the receiving mutable ordered set.

## See Also

### Combining and Recombining Entries

- [intersect(_:)](foundation/nsmutableorderedset/intersect(_:).md)
- [intersectSet(_:)](foundation/nsmutableorderedset/intersectset(_:).md)
- [minus(_:)](foundation/nsmutableorderedset/minus(_:).md)
- [minusSet(_:)](foundation/nsmutableorderedset/minusset(_:).md)
- [union(_:)](foundation/nsmutableorderedset/union(_:).md)
