decord/source/605_isBuffer.js

36 lines
611 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 605
// Function ID: 7040
// Name: isBuffer
2026-07-23 10:11:24 +00:00
// Dependencies: [580, 606]
2026-07-20 16:05:17 +00:00
// Module 605 (isBuffer)
2026-07-23 10:11:24 +00:00
const tmp = "object" === typeof exports && exports && !exports.nodeType && exports;
2026-07-20 16:05:17 +00:00
let tmp2 = tmp;
2026-07-23 10:11:24 +00:00
if (tmp) {
2026-07-20 16:05:17 +00:00
tmp2 = "object" === typeof module;
}
if (tmp2) {
tmp2 = module;
}
if (tmp2) {
tmp2 = !module.nodeType;
}
if (tmp2) {
tmp2 = module;
}
let _Buffer;
if (tmp2) {
if (tmp2.exports === tmp) {
2026-07-23 10:11:24 +00:00
_Buffer = require("module_580").Buffer;
2026-07-20 16:05:17 +00:00
}
}
let isBuffer;
if (_Buffer) {
isBuffer = _Buffer.isBuffer;
}
if (!isBuffer) {
2026-07-23 10:11:24 +00:00
isBuffer = require("stubFalse");
2026-07-20 16:05:17 +00:00
}
export default isBuffer;