You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
312 B

/**
Check if a path is the [current working directory](https://en.wikipedia.org/wiki/Working_directory).
@example
```
import isPathCwd = require('is-path-cwd');
isPathCwd(process.cwd());
//=> true
isPathCwd('unicorn');
//=> false
```
*/
declare function isPathCwd(path: string): boolean;
export = isPathCwd;