lib/util.js
function isStream(input) {
  if (ReadableStream.prototype.isPrototypeOf(input)) {
    return 'web';
  }
  if (NodeReadableStream && NodeReadableStream.prototype.isPrototypeOf(input)) {
    return 'node';
  }
  return false;
}
function isStream(input) {
  if (ReadableStream.prototype.isPrototypeOf(input)) {
    return 'web';
  }
  if (NodeReadableStream && NodeReadableStream.prototype.isPrototypeOf(input)) {
    return 'node';
  }
  return false;
}
function isStream ( input ) { if ( ReadableStream . prototype . isPrototypeOf ( input ) ) { return 'web' ; } if ( NodeReadableStream && NodeReadableStream . prototype . isPrototypeOf ( input ) ) { return 'node' ; } return false ; }
Check whether data is a Stream, and if so of which type
@param {Any} input  data to check
@returns {'web'|'node'|false}
Check whether data is a Stream and if so of which type