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

Method closeAllNodes

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

Source from the content-addressed store, hash-verified

161 if (this.stack.length > 1) return this.stack.pop();
162 }
163 closeAllNodes() {
164 for (; this.closeNode(); );
165 }
166 toJSON() {
167 return JSON.stringify(this.rootNode, null, 4);
168 }

Callers 1

bFunction · 0.80

Calls 1

closeNodeMethod · 0.95

Tested by

no test coverage detected