SplHeap::isEmpty

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

SplHeap::isEmptyChecks whether the heap is empty

Description

public SplHeap::isEmpty(): bool

Parameters

This function has no parameters.

Return Values

Returns whether the heap is empty.