decord/source/621_isBuffer.js

48 lines
754 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-24 06:08:38 +00:00
import _mod609 from "module_609" /* 609 */;
import stubFalse from "stubFalse" /* 622 */;
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-08-24 06:08:38 +00:00
_Buffer = _mod609.Buffer;
2026-07-20 16:05:17 +00:00
}
}
let isBuffer;
if (_Buffer) {
isBuffer = _Buffer.isBuffer;
}
if (!isBuffer) {
2026-08-24 06:08:38 +00:00
isBuffer = stubFalse;
2026-07-20 16:05:17 +00:00
}
export default isBuffer;