isStream.js 111 B

12345
  1. var Stream = require('stream').Stream;
  2. module.exports = function(o) {
  3. return !!o && o instanceof Stream;
  4. };