CFBinaryHeapGetMinimumIfPresent(_:_:)
Returns the minimum value in a binary heap, if present.
Declaration
func CFBinaryHeapGetMinimumIfPresent(_ heap: CFBinaryHeap!, _ value: UnsafeMutablePointer<UnsafeRawPointer?>!) -> BoolParameters
- heap:
The binary heap to use.
- value:
On return, the minimum value in
heapas determined by the binary heap’s compare callback. Ifheapcontains several equal minimum values, any one may be returned. If the value is a Core Foundation object, ownership follows the 20001148 SW1.
Return Value
true if a minimum value exists in heap, false otherwise. false is returned only if heap is empty.
See Also
CFBinaryHeap Miscellaneous Functions
CFBinaryHeapAddValue(_:_:)CFBinaryHeapApplyFunction(_:_:_:)CFBinaryHeapContainsValue(_:_:)CFBinaryHeapCreate(_:_:_:_:)CFBinaryHeapCreateCopy(_:_:_:)CFBinaryHeapGetCount(_:)CFBinaryHeapGetCountOfValue(_:_:)CFBinaryHeapGetMinimum(_:)CFBinaryHeapGetTypeID()CFBinaryHeapGetValues(_:_:)CFBinaryHeapRemoveAllValues(_:)CFBinaryHeapRemoveMinimumValue(_:)