UNPKG

@stryke/path

Version:

A package containing various utilities that expand the functionality of NodeJs's built-in `path` module

8 lines (7 loc) 243 B
/** * Check if the directory is the current system's root directory. * * @param dir - The directory to check. * @returns Returns true if the directory is the root directory. */ export declare const isSystemRoot: (dir: string) => boolean;