File: index.d.ts

package info (click to toggle)
node-is-binary-path 2.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 128 kB
  • sloc: javascript: 24; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
Check if a file path is a binary file.

@example
```
import isBinaryPath = require('is-binary-path');

isBinaryPath('source/unicorn.png');
//=> true

isBinaryPath('source/unicorn.txt');
//=> false
```
*/
declare function isBinaryPath(filePath: string): boolean;

export = isBinaryPath;