MCPcopy Create free account
hub / github.com/datastructures-js/priority-queue / isEmpty

Method isEmpty

src/priorityQueue.js:147–149  ·  view source on GitHub ↗

* Checks if the queue is empty * @public * @returns {boolean}

()

Source from the content-addressed store, hash-verified

145 * @returns {boolean}
146 */
147 isEmpty() {
148 return this._heap.isEmpty();
149 }
150
151 /**
152 * Clears the queue

Callers 2

removeMethod · 0.95
containsMethod · 0.95

Calls 1

isEmptyMethod · 0.65

Tested by

no test coverage detected