(obj)
| 78 | } |
| 79 | |
| 80 | function isReadableStream(obj) { |
| 81 | return !!( |
| 82 | obj && |
| 83 | !isNodeStream(obj) && |
| 84 | typeof obj.pipeThrough === 'function' && |
| 85 | typeof obj.getReader === 'function' && |
| 86 | typeof obj.cancel === 'function' |
| 87 | ); |
| 88 | } |
| 89 | |
| 90 | function isWritableStream(obj) { |
| 91 | return !!( |
no test coverage detected
searching dependent graphs…