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

# equal

The callback used to compare keys in the dictionary for equality. If NULL, the collection will use pointer equality to compare keys in the collection. See CFDictionaryEqualCallBack for a description of this callback.

## Declaration

```swift
var equal: CFDictionaryEqualCallBack!
```
