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

# remove(_:)

Removes a given object from the hash table.

## Declaration

```swift
func remove(_ object: ObjectType?)
```

## Parameters

- `object`: The object to remove from the hash table.

## See Also

### Manipulating Membership

- [add(_:)](foundation/nshashtable/add(_:).md)
- [removeAllObjects()](foundation/nshashtable/removeallobjects().md)
