biofriction-wp-theme/node_modules/vinyl/lib/is-stream.js

16 lines
194 B
JavaScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
'use strict';
function isStream(stream) {
if (!stream) {
return false;
}
if (typeof stream.pipe !== 'function') {
return false;
}
return true;
}
module.exports = isStream;