decord/source/4477_getEvalledConstructor.js

18 lines
451 B
JavaScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 4477
// Function ID: 4478
2026-07-25 08:10:48 +00:00
// Name: getEvalledConstructor
2026-07-29 08:29:29 +00:00
// Dependencies: [540, 574]
2026-07-25 08:10:48 +00:00
2026-07-31 08:44:05 +00:00
// Module 4477 (getEvalledConstructor)
2026-07-25 08:10:48 +00:00
const tmp = require("getEvalledConstructor")("%Array%");
2026-07-29 08:29:29 +00:00
const isArray = tmp.isArray;
let tmp2 = !isArray;
if (!isArray) {
2026-07-25 08:10:48 +00:00
tmp2 = require("callBoundIntrinsic")("Object.prototype.toString");
}
2026-07-29 08:29:29 +00:00
let c0 = tmp2;
2026-07-25 08:10:48 +00:00
export default tmp.isArray || (function IsArray(arg0) {
return "[object Array]" === tmp2(arg0);
});