CFDictionaryContainsKey(_:_:)
Returns a Boolean value that indicates whether a given key is in a dictionary.
Declaration
func CFDictionaryContainsKey(_ theDict: CFDictionary!, _ key: UnsafeRawPointer!) -> BoolParameters
- theDict:
The dictionary to examine.
- key:
The key for which to find matches in
theDict. The key hash and equal callbacks provided when the dictionary was created, are used to compare. If the hash callback isNULL,keyis treated as a pointer and converted to an integer. If the equal callback isNULL, pointer equality (in C, ==) is used. Ifkey, or any of the keys in the dictionary, is not understood by the equal callback, the behavior is undefined.
Return Value
true if key is in the dictionary, otherwise false.