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

Method root

src/lib/parser/tree.ts:91–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 }
90
91 root() {
92 return this.node(rootMarker);
93 }
94
95 isRoot(node: Node) {
96 return node.id === rootMarker;

Callers 13

validMethod · 0.95
hasChildrenMethod · 0.95
findNodeAtOffsetMethod · 0.95
stringifyMethod · 0.95
stringifyNestNodesMethod · 0.95
toJSONMethod · 0.95
compareJSONFunction · 0.80
isEqualsFunction · 0.80
toCsvJSONFunction · 0.80
buildTableGridFunction · 0.80
genFlowNodesFunction · 0.80
Node.tsxFile · 0.80

Calls 1

nodeMethod · 0.95

Tested by 1

expectEqFunction · 0.64