decord/source/621_isBuffer.js

45 lines
689 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 621
// Function ID: 622
2026-07-20 16:05:17 +00:00
// Name: isBuffer
2026-07-29 08:29:29 +00:00
// Dependencies: [609, 622]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 621 (isBuffer)
2026-08-04 21:03:28 +00:00
let tmp = typeof exports === "object";
if (typeof exports === "object") {
2026-07-29 08:29:29 +00:00
tmp = exports;
}
if (tmp) {
tmp = !exports.nodeType;
}
if (tmp) {
tmp = exports;
}
2026-07-20 16:05:17 +00:00
let tmp2 = tmp;
2026-07-23 10:11:24 +00:00
if (tmp) {
2026-08-04 21:03:28 +00:00
tmp2 = typeof module === "object";
2026-07-20 16:05:17 +00:00
}
if (tmp2) {
tmp2 = module;
}
if (tmp2) {
tmp2 = !module.nodeType;
}
if (tmp2) {
tmp2 = module;
}
let _Buffer;
if (tmp2) {
if (tmp2.exports === tmp) {
2026-07-29 08:29:29 +00:00
_Buffer = require("module_609").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;