1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/gulp-util/lib/isBuffer.js

8 lines
209 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
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;
};