CFBinaryHeapContainsValue(_:_:)
Returns whether a given value is in a binary heap.
Declaration
func CFBinaryHeapContainsValue(_ heap: CFBinaryHeap!, _ value: UnsafeRawPointer!) -> BoolParameters
- heap:
The binary heap to search.
- value:
The value for which to find matches in the binary heap. The compare callback provided in the Cfbinaryheapcallbacks structure when the binary heap was created is used to compare values. If
value, or any of the values in the binary heap, are not understood by the compare callback, the behavior is undefined.
Return Value
true if value is a member of heap, false otherwise.
See Also
CFBinaryHeap Miscellaneous Functions
CFBinaryHeapAddValue(_:_:)CFBinaryHeapApplyFunction(_:_:_:)CFBinaryHeapCreate(_:_:_:_:)CFBinaryHeapCreateCopy(_:_:_:)CFBinaryHeapGetCount(_:)CFBinaryHeapGetCountOfValue(_:_:)CFBinaryHeapGetMinimum(_:)CFBinaryHeapGetMinimumIfPresent(_:_:)CFBinaryHeapGetTypeID()CFBinaryHeapGetValues(_:_:)CFBinaryHeapRemoveAllValues(_:)CFBinaryHeapRemoveMinimumValue(_:)