(path: fs.PathLike)
| 682 | } |
| 683 | |
| 684 | export function isDirSafe(path: fs.PathLike): boolean { |
| 685 | return !!statSyncSafe(path)?.isDirectory(); |
| 686 | } |
| 687 | |
| 688 | export function isFileSafe(path: fs.PathLike): boolean { |
| 689 | return !!statSyncSafe(path)?.isFile(); |
no test coverage detected