MCPcopy
hub / github.com/loggerhead/json4u / isRoot

Method isRoot

src/lib/parser/tree.ts:95–97  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

93 }
94
95 isRoot(node: Node) {
96 return node.id === rootMarker;
97 }
98
99 node(id: string) {
100 return this.nodeMap[id];

Callers 2

jq.jsFile · 0.80
createNodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected