twitst4tz

twitter statistics web application
Log | Files | Refs | README | LICENSE

isBufferBrowser.js (203B)


      1 module.exports = function isBuffer(arg) {
      2   return arg && typeof arg === 'object'
      3     && typeof arg.copy === 'function'
      4     && typeof arg.fill === 'function'
      5     && typeof arg.readUInt8 === 'function';
      6 }