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

# minusSet(_:)

Removes each object in another given set from the receiving mutable ordered set, if present.

## Declaration

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

## Parameters

- `other`: The set of objects to remove from the receiving set.

## See Also

### Combining and Recombining Entries

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