Initial import
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
function isStream(stream) {
|
||||
if (!stream) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (typeof stream.pipe !== 'function') {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
module.exports = isStream;
|
||||
Reference in New Issue
Block a user