---
title: "NSHashGet(_:_:)"
framework: foundation
role: symbol
role_heading: Function
path: "foundation/nshashget(_:_:)"
---

# NSHashGet(_:_:)

Returns an element of the hash table.

## Declaration

```swift
func NSHashGet(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?) -> UnsafeMutableRawPointer
```

## Return Value

Return Value The pointer in the table that matches pointer (as defined by the isEqual callback function). If there is no matching element, returns NULL.

## See Also

### Functions

- [NSAllHashTableObjects(_:)](foundation/nsallhashtableobjects(_:).md)
- [NSCompareHashTables(_:_:)](foundation/nscomparehashtables(_:_:).md)
- [NSCopyHashTableWithZone(_:_:)](foundation/nscopyhashtablewithzone(_:_:).md)
- [NSCountHashTable(_:)](foundation/nscounthashtable(_:).md)
- [NSCreateHashTable(_:_:)](foundation/nscreatehashtable(_:_:).md)
- [NSCreateHashTableWithZone(_:_:_:)](foundation/nscreatehashtablewithzone(_:_:_:).md)
- [NSEndHashTableEnumeration(_:)](foundation/nsendhashtableenumeration(_:).md)
- [NSEnumerateHashTable(_:)](foundation/nsenumeratehashtable(_:).md)
- [NSFreeHashTable(_:)](foundation/nsfreehashtable(_:).md)
- [NSHashInsert(_:_:)](foundation/nshashinsert(_:_:).md)
- [NSHashInsertIfAbsent(_:_:)](foundation/nshashinsertifabsent(_:_:).md)
- [NSHashInsertKnownAbsent(_:_:)](foundation/nshashinsertknownabsent(_:_:).md)
- [NSHashRemove(_:_:)](foundation/nshashremove(_:_:).md)
- [NSNextHashEnumeratorItem(_:)](foundation/nsnexthashenumeratoritem(_:).md)
- [NSResetHashTable(_:)](foundation/nsresethashtable(_:).md)
