MCPcopy
hub / github.com/trekhleb/javascript-algorithms / isEmpty

Method isEmpty

src/data-structures/heap/Heap.js:209–211  ·  view source on GitHub ↗

* @return {boolean}

()

Source from the content-addressed store, hash-verified

207 * @return {boolean}
208 */
209 isEmpty() {
210 return !this.heapContainer.length;
211 }
212
213 /**
214 * @return {string}

Callers 8

MinHeap.test.jsFile · 0.45
MaxHeap.test.jsFile · 0.45
sortMethod · 0.45
dijkstraFunction · 0.45
getSCCSetsFunction · 0.45
primFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected