projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0e23782c4130e9d24f59baff613a980bae8332d9
[yaffs-website]
/
lib
/
isBuffer.js
1
var buf = require('buffer');
2
var Buffer = buf.Buffer;
3
4
// could use Buffer.isBuffer but this is the same exact thing...
5
module.exports = function(o) {
6
return typeof o === 'object' && o instanceof Buffer;
7
};