contains(_:)
Returns a Boolean value that indicates whether the hash table contains a given object.
Declaration
func contains(_ anObject: ObjectType?) -> BoolParameters
- anObject:
The object to test for membership in the hash table.
Return Value
Discussion
The equality test used 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.