( entry: object, )
| 42 | } |
| 43 | |
| 44 | function hasParentPath( |
| 45 | entry: object, |
| 46 | ): entry is { parentPath: string; name: string } { |
| 47 | return 'parentPath' in entry && typeof entry.parentPath === 'string' |
| 48 | } |
| 49 | |
| 50 | function hasPath(entry: object): entry is { path: string; name: string } { |
| 51 | return 'path' in entry && typeof entry.path === 'string' |
no outgoing calls
no test coverage detected