CFSetContainsValue(_:_:)
Returns a Boolean that indicates whether a set contains a given value.
Declaration
func CFSetContainsValue(_ theSet: CFSet!, _ value: UnsafeRawPointer!) -> BoolParameters
- theSet:
The set to search.
- value:
The value to match in
theSet. Comparisons are made using the equal callback provided whentheSetwas created. If the equal callback wasNULL, pointer equality (in C, ==) is used.
Return Value
true if value is contained in theSet, otherwise false.
Discussion
This function uses the equal callback. value and all elements in the set must be understood by the equal callback.