Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
JsonPath
Function · 0.80
Calls
2
isRoot
Function · 0.90
hasChildren
Function · 0.90
Tested by
no test coverage detected