( entry: object, )
| 31 | } |
| 32 | |
| 33 | function hasParentPath( |
| 34 | entry: object, |
| 35 | ): entry is { parentPath: string; name: string } { |
| 36 | return 'parentPath' in entry && typeof entry.parentPath === 'string' |
| 37 | } |
| 38 | |
| 39 | function hasPath(entry: object): entry is { path: string; name: string } { |
| 40 | return 'path' in entry && typeof entry.path === 'string' |
no outgoing calls
no test coverage detected