Contents

isEqualTo

Compares certain members of two dictionaries with isEqualTo().

Declaration

bool isEqualTo(const OSDictionary *aDictionary, const OSCollection *keys);
virtual bool isEqualTo(const OSDictionary *aDictionary, const OSCollection *keys);

Parameters

  • aDictionary:

    The other dictionary to compare with.

Return Value

true if both dictionaries have equal counts, every key exists in both, values for each key compare true with isEqualTo().

Discussion

For each key in the given collection, both dictionaries must contain values for the key that compare successfully with isEqualTo().

See Also

Comparing Dictionaries