projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial commit
[yaffs-website]
/
node_modules
/
gulp-util
/
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
};