---
title: "remove(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsmutableindexset/remove(_:)-196u2"
---

# remove(_:)

Removes the indexes in an index set from the receiver.

## Declaration

```swift
func remove(_ indexSet: IndexSet)
```

## Parameters

- `indexSet`: Index set to remove.

## See Also

### Removing Indexes

- [remove(_:)](foundation/nsmutableindexset/remove(_:)-5li0r.md)
- [removeAllIndexes()](foundation/nsmutableindexset/removeallindexes().md)
- [remove(in:)](foundation/nsmutableindexset/remove(in:).md)
