MCPcopy
hub / github.com/mindoc-org/mindoc / find

Function find

static/editor.md/lib/mermaid/mermaid.js:16613–16617  ·  view source on GitHub ↗
(nodeById, nodeId)

Source from the content-addressed store, hash-verified

16611}
16612
16613function find(nodeById, nodeId) {
16614 var node = nodeById.get(nodeId);
16615 if (!node) throw new Error("node not found: " + nodeId);
16616 return node;
16617}
16618
16619/* harmony default export */ __webpack_exports__["default"] = (function(links) {
16620 var id = index,

Callers 1

initializeFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected