dotfiles/.vscode/extensions/saviorisdead.RustyCode-0.18.0/node_modules/gulp-util/lib/isBuffer.js
Cyryl Płotnicki 2f946d6200 Add .vscode
2016-09-11 10:29:13 +02:00

7 lines
209 B
JavaScript

var buf = require('buffer');
var Buffer = buf.Buffer;
// could use Buffer.isBuffer but this is the same exact thing...
module.exports = function(o) {
return typeof o === 'object' && o instanceof Buffer;
};