site_opytex/theme/node_modules/vinyl/lib/isStream.js

5 lines
110 B
JavaScript

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