source: trip-planner-front/node_modules/is-path-cwd/index.d.ts@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 312 bytes
RevLine 
[6a3a178]1/**
2Check if a path is the [current working directory](https://en.wikipedia.org/wiki/Working_directory).
3
4@example
5```
6import isPathCwd = require('is-path-cwd');
7
8isPathCwd(process.cwd());
9//=> true
10
11isPathCwd('unicorn');
12//=> false
13```
14*/
15declare function isPathCwd(path: string): boolean;
16
17export = isPathCwd;
Note: See TracBrowser for help on using the repository browser.