You are here

public function PriorityQueue::isEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/PriorityQueue.php \Zend\Stdlib\PriorityQueue::isEmpty()

Is the queue empty?

Return value

bool

1 call to PriorityQueue::isEmpty()
PriorityQueue::remove in vendor/zendframework/zend-stdlib/src/PriorityQueue.php
Remove an item from the queue

File

vendor/zendframework/zend-stdlib/src/PriorityQueue.php, line 118

Class

PriorityQueue
Re-usable, serializable priority queue implementation

Namespace

Zend\Stdlib

Code

public function isEmpty() {
  return 0 === $this
    ->count();
}