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

Method top

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

Source from the content-addressed store, hash-verified

145 (this.rootNode = { children: [] }), (this.stack = [this.rootNode]);
146 }
147 get top() {
148 return this.stack[this.stack.length - 1];
149 }
150 get root() {
151 return this.rootNode;
152 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected