MCPcopy Create free account
hub / github.com/Hashnode/starter-kit / closeNode

Method closeNode

packages/utils/renderer/highlight.js:160–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 this.add(n), this.stack.push(n);
159 }
160 closeNode() {
161 if (this.stack.length > 1) return this.stack.pop();
162 }
163 closeAllNodes() {
164 for (; this.closeNode(); );
165 }

Callers 1

closeAllNodesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected