Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/triggerdotdev/jsonhero-web
/ isAncestorOf
Function
isAncestorOf
app/hooks/useJsonColumnView.tsx:197–199 ·
view source on GitHub ↗
(ancestor: string, descendant: string)
Source
from the content-addressed store, hash-verified
195
}
196
197
function isAncestorOf(ancestor: string, descendant: string) {
198
return ancestor != descendant && descendant.startsWith(ancestor);
199
}
Callers
1
JsonColumnViewProvider
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected