decord/source/4381_RequireObjectCoercible.js
2026-07-21 06:55:02 +00:00

24 lines
525 B
JavaScript

// Module ID: 4381
// Function ID: 38773
// Name: RequireObjectCoercible
// Dependencies: []
// Module 4381 (RequireObjectCoercible)
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;
}
};