Dashboard sipadu mbip
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.d.ts 312B

1234567891011121314151617
  1. /**
  2. Check if a path is the [current working directory](https://en.wikipedia.org/wiki/Working_directory).
  3. @example
  4. ```
  5. import isPathCwd = require('is-path-cwd');
  6. isPathCwd(process.cwd());
  7. //=> true
  8. isPathCwd('unicorn');
  9. //=> false
  10. ```
  11. */
  12. declare function isPathCwd(path: string): boolean;
  13. export = isPathCwd;