Returns the minimum value in a binary heap, if present.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The binary heap to use.
On return, the minimum value in
heapas determined by the binary heap’s compare callback. If
heapcontains several equal minimum values, any one may be returned. If the value is a Core Foundation object, ownership follows the The Get Rule.
true if a minimum value exists in
false is returned only if
heap is empty.