---
title: isEqualTo
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/osdictionary/isequalto-3kuk7
---

# isEqualTo

Compares the dictionary with an OSObject

## Declaration

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

## 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](driverkit/osdictionary/isequalto-3c1k0.md)
- [isEqualTo](driverkit/osdictionary/isequalto-2p9or.md)
