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