Contents

CFDictionaryContainsValue(_:_:)

Returns a Boolean value that indicates whether a given value is in a dictionary.

Declaration

func CFDictionaryContainsValue(_ theDict: CFDictionary!, _ value: UnsafeRawPointer!) -> Bool

Parameters

  • theDict:

    The dictionary to examine.

  • value:

    The value for which to find matches in theDict. The value equal callback provided when the dictionary was created is used to compare. If the equal callback was NULL, pointer equality (in C, ==) is used. If value, or any other value in the dictionary, is not understood by the equal callback, the behavior is undefined.

Return Value

true if value is in the dictionary, otherwise false.

See Also

Examining a dictionary