MCPcopy Index your code
hub / github.com/triggerdotdev/jsonhero-web / checkPathExists

Function checkPathExists

app/components/InfoHeader.tsx:112–116  ·  view source on GitHub ↗
(json: unknown, newPath: string)

Source from the content-addressed store, hash-verified

110}
111
112function checkPathExists(json: unknown, newPath: string) {
113 const heroPath = new JSONHeroPath(newPath);
114 const node = heroPath.first(json);
115 return Boolean(node);
116}
117
118function EmptyState() {
119 return (

Callers 1

InfoHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected