Contents

intersects(_:)

Returns a Boolean value that indicates whether a given hash table intersects with the receiving hash table.

Declaration

func intersects(_ other: NSHashTable<ObjectType>) -> Bool

Parameters

  • other:

    The hash table with which to compare the receiving hash table.

Return Value

true if other intersects with the receiving hash table, otherwise false.

Discussion

The equality test used for members depends on the personality option selected. For instance, choosing the objectPersonality option will use isEqual: to determine equality. See NSPointerFunctions.Options for more information on personality options and their corresponding equality tests.

See Also

Comparing Hash Tables