SplHeap::isEmpty

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

SplHeap::isEmptyChecks whether the heap is empty

说明

publicSplHeap::isEmpty(): bool

参数

此函数没有参数。

返回值

Returns whether the heap is empty.

To Top