decord/source/4385_RequireObjectCoercible.js

25 lines
515 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 4385
2026-07-24 07:16:23 +00:00
// Function ID: 38822
2026-07-20 16:05:17 +00:00
// Name: RequireObjectCoercible
2026-07-23 10:11:24 +00:00
// Dependencies: [518]
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
// Module 4385 (RequireObjectCoercible)
2026-07-20 16:05:17 +00:00
export default function RequireObjectCoercible(arg0) {
if (null == arg0) {
2026-07-23 10:11:24 +00:00
let tmp3 = require(518);
2026-07-20 16:05:17 +00:00
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;
}
};