source: trip-planner-front/node_modules/is-binary-path/index.d.ts@ b738035

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

initial commit

  • Property mode set to 100644
File size: 290 bytes
RevLine 
[6a3a178]1/**
2Check if a file path is a binary file.
3
4@example
5```
6import isBinaryPath = require('is-binary-path');
7
8isBinaryPath('source/unicorn.png');
9//=> true
10
11isBinaryPath('source/unicorn.txt');
12//=> false
13```
14*/
15declare function isBinaryPath(filePath: string): boolean;
16
17export = isBinaryPath;
Note: See TracBrowser for help on using the repository browser.