is.js 111 Bytes edit raw blame history 1 2 3 4 5 var Buffer = require('buffer').Buffer module.exports = function(buffer) { return Buffer.isBuffer(buffer); }