index.d.ts 290 B

123456789101112131415161718
  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;