47 lines
754 B
JavaScript
47 lines
754 B
JavaScript
// Module ID: 621
|
|
// Function ID: 622
|
|
// Name: isBuffer
|
|
// Dependencies: [609, 622]
|
|
|
|
// Module 621 (isBuffer)
|
|
import _mod609 from "module_609" /* 609 */;
|
|
import stubFalse from "stubFalse" /* 622 */;
|
|
|
|
let tmp = typeof exports === "object";
|
|
if (typeof exports === "object") {
|
|
tmp = exports;
|
|
}
|
|
if (tmp) {
|
|
tmp = !exports.nodeType;
|
|
}
|
|
if (tmp) {
|
|
tmp = exports;
|
|
}
|
|
let tmp2 = tmp;
|
|
if (tmp) {
|
|
tmp2 = typeof module === "object";
|
|
}
|
|
if (tmp2) {
|
|
tmp2 = module;
|
|
}
|
|
if (tmp2) {
|
|
tmp2 = !module.nodeType;
|
|
}
|
|
if (tmp2) {
|
|
tmp2 = module;
|
|
}
|
|
let _Buffer;
|
|
if (tmp2) {
|
|
if (tmp2.exports === tmp) {
|
|
_Buffer = _mod609.Buffer;
|
|
}
|
|
}
|
|
let isBuffer;
|
|
if (_Buffer) {
|
|
isBuffer = _Buffer.isBuffer;
|
|
}
|
|
if (!isBuffer) {
|
|
isBuffer = stubFalse;
|
|
}
|
|
|
|
export default isBuffer;
|