Download web/node_modules/is-binary-path/index.d.ts from Amitkumar001/Law_Slm: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/web/node_modules/is-binary-path/index.d.ts
- Command line
-
hf download hf://Amitkumar001/Law_Slm/web/node_modules/is-binary-path/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/web/node_modules/is-binary-path/index.d.ts
290 Bytes
| /** | |
| 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; | |