1 | // Type definitions for isstream 0.1
|
2 | // Project: https://github.com/rvagg/isstream
|
3 | // Definitions by: Matthew Peveler <https://github.com/MasterOdin>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | declare function isStream(obj: any): boolean;
|
7 | declare namespace isStream {
|
8 | function isReadable(obj: any): boolean;
|
9 | function isWritable(obj: any): boolean;
|
10 | function isDuplex(obj: any): boolean;
|
11 | }
|
12 |
|
13 | export = isStream;
|