lib/utils.js
function isFileLike(v) {
  return Buffer.isBuffer(v) ||
    typeof v === 'object' &&
    typeof v.pipe === 'function' &&
    v.readable !== false;
}
function isFileLike(v) {
  return Buffer.isBuffer(v) ||
    typeof v === 'object' &&
    typeof v.pipe === 'function' &&
    v.readable !== false;
}
function isFileLike ( v ) { return Buffer . isBuffer ( v ) || typeof v === 'object' && typeof v . pipe === 'function' && v . readable !== false ; }
Check if object is file like
Check if object is file like