php8.5
Home/ Manual/ spl / splheap/ SplHeap::isEmpty

SplHeap::isEmpty

PHP function Edit on GitHub ✎

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

Checks whether the heap is empty

Description

SplHeap::isEmpty(): bool

Parameters Parameters

Return Values

Returns whether the heap is empty.

Source: reference/spl/splheap/isempty.xml · from the official PHP manual (php/doc-en)