mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 20:21:46 +00:00
8 lines
139 B
TypeScript
8 lines
139 B
TypeScript
import isCompressed = require('is-compressed');
|
|
|
|
isCompressed('src/unicorn.zip');
|
|
// => true
|
|
|
|
isCompressed('src/unicorn.txt');
|
|
// => false
|