---
title: equal
framework: corefoundation
role: symbol
role_heading: Instance Property
path: corefoundation/cfsetcallbacks/equal
---

# equal

The callback used to compare values in the collection for equality for some operations. If NULL, the collection will use pointer equality to compare values in the collection. See CFSetEqualCallBack for a description of this callback.

## Declaration

```swift
var equal: CFSetEqualCallBack!
```
