Returns a Boolean value that indicates whether a given hash table is equal to the receiving hash table.
- iOS 6.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The hash table with which to compare the receiving hash table.
YES if the contents of
other are equal to the contents of the receiving hash table, otherwise
Two hash tables have equal contents if they each have the same number of members and if each member of one hash table is present in the other.
The equality test used for members depends on the personality option selected. For instance, choosing the
NSPointer option will use
is to determine equality. See
NSPointer for more information on personality options and their corresponding equality tests.