docs: function destroy (stream) {
    if (stream instanceof ReadStream) {
      return destroyReadStream(stream)
    }
  
    if (!(stream instanceof Stream)) {
      return stream
    }
  
    if (typeof stream.destroy === 'function') {
      stream.destroy()
    }
  
    return stream
  }