5 lines
110 B
JavaScript
5 lines
110 B
JavaScript
var Stream = require('stream').Stream;
|
|
|
|
module.exports = function(o) {
|
|
return !!o && o instanceof Stream;
|
|
}; |