4
1

index.d.ts 290 B

1234567891011121314151617
  1. /**
  2. Check if a file path is a binary file.
  3. @example
  4. ```
  5. import isBinaryPath = require('is-binary-path');
  6. isBinaryPath('source/unicorn.png');
  7. //=> true
  8. isBinaryPath('source/unicorn.txt');
  9. //=> false
  10. ```
  11. */
  12. declare function isBinaryPath(filePath: string): boolean;
  13. export = isBinaryPath;