MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / getNode

Method getNode

packages/core/src/document/document.ts:220–222  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

218 }
219
220 getNode(id: string) {
221 return this._nodesMap.get(id) || null
222 }
223
224 getNodeCount(): number {
225 return this._nodesMap.size

Callers 3

createNodeMethod · 0.95
hasNodeMethod · 0.95
removeNodeMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected