---
title: isEqualFunction
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nspointerfunctions/isequalfunction
---

# isEqualFunction

The function used to compare pointers.

## Declaration

```swift
var isEqualFunction: ((UnsafeRawPointer, UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?) -> ObjCBool)? { get set }
```

## See Also

### Personality Functions

- [hashFunction](foundation/nspointerfunctions/hashfunction.md)
- [sizeFunction](foundation/nspointerfunctions/sizefunction.md)
- [descriptionFunction](foundation/nspointerfunctions/descriptionfunction.md)
