decord/source/__polyfill/04xxx/module_4826.js
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

43 lines
1.2 KiB
JavaScript

// Module ID: 4826
// Function ID: 4827
// Dependencies: [1316, 1286, 1446]
// Module 4826
import _Symbol from "_Symbol" /* 1286 */;
import callBoundIntrinsic from "callBoundIntrinsic" /* 1316 */;
import regexTester from "regexTester" /* 1446 */;
let closure_0 = callBoundIntrinsic("Object.prototype.toString");
if (_Symbol()) {
let closure_1 = callBoundIntrinsic("Symbol.prototype.toString");
let closure_2 = regexTester(/^Symbol\(.*\)$/);
module.exports = function isSymbol(obj) {
if (typeof obj === "symbol") {
return true;
} else {
if (obj) {
if (typeof obj === "object") {
if ("[object Symbol]" === callback(obj)) {
try {
return (function isRealSymbolObject(arg0) {
const valueOfResult = arg0.valueOf();
let tmp2 = typeof valueOfResult === "symbol";
if (typeof valueOfResult === "symbol") {
tmp2 = callback2(callback(arg0));
}
return tmp2;
})(obj);
} catch (err) {
return false;
}
}
}
}
return false;
}
};
} else {
module.exports = function isSymbol(arg0) {
return false;
};
}