MCPcopy Index your code
hub / github.com/loggerhead/json4u / isGraphNode

Method isGraphNode

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

Source from the content-addressed store, hash-verified

138 }
139
140 isGraphNode(node: Node) {
141 return isRoot(node) || hasChildren(node);
142 }
143
144 findNodeAtOffset(offset: number): { node: Node; target: RevealTarget } | undefined {
145 if (!this.valid()) {

Callers 1

JsonPathFunction · 0.80

Calls 2

isRootFunction · 0.90
hasChildrenFunction · 0.90

Tested by

no test coverage detected