decord/source/4381_RequireObjectCoercible.js

25 lines
525 B
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 4381
// Function ID: 38773
2026-07-20 16:05:17 +00:00
// Name: RequireObjectCoercible
// Dependencies: []
2026-07-21 06:55:02 +00:00
// Module 4381 (RequireObjectCoercible)
2026-07-20 16:05:17 +00:00
export default function RequireObjectCoercible(arg0) {
if (null == arg0) {
let tmp3 = require(dependencyMap[0]);
let text = arguments.length > 0;
if (text) {
text = arguments[1];
}
if (!text) {
text = `Cannot call method on ${arg0}`;
}
const prototype = tmp3.prototype;
tmp3 = new tmp3(text);
throw tmp3;
} else {
return arg0;
}
};