---
title: isEqualTo
framework: Kernel
role: symbol
role_heading: Instance Method
platforms: [driverkit 19.0+, macOS 10.15.2+]
path: kernel/osdictionary/3433848-isequalto
---

# isEqualTo

Compares the dictionary with an OSObject

## Declaration

```occ
virtual bool isEqualTo(const OSMetaClassBase *anObject);
```

## Parameters

- `anObject`: The object to compare with.

## Return Value

Return Value true iff the object is of class OSDictionary and isEqualTo(const OSDictionary * anArray) returns true.

## Discussion

Discussion If the object is of class OSDictionary, the result of isEqualTo(const OSDictionary * anArray) is returned. Otherwise false is returned.

## See Also

### Comparing Dictionaries

- [isEqualTo](kernel/osdictionary/3180902-isequalto.md)
- [isEqualTo](kernel/osdictionary/3433847-isequalto.md)
