|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
290 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | /**
|
|---|
| 2 | Check if a file path is a binary file.
|
|---|
| 3 |
|
|---|
| 4 | @example
|
|---|
| 5 | ```
|
|---|
| 6 | import isBinaryPath = require('is-binary-path');
|
|---|
| 7 |
|
|---|
| 8 | isBinaryPath('source/unicorn.png');
|
|---|
| 9 | //=> true
|
|---|
| 10 |
|
|---|
| 11 | isBinaryPath('source/unicorn.txt');
|
|---|
| 12 | //=> false
|
|---|
| 13 | ```
|
|---|
| 14 | */
|
|---|
| 15 | declare function isBinaryPath(filePath: string): boolean;
|
|---|
| 16 |
|
|---|
| 17 | export = isBinaryPath;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.