decord/source/4443_RequireObjectCoercible.js

24 lines
476 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 4443
// Function ID: 4444
2026-07-20 16:05:17 +00:00
// Name: RequireObjectCoercible
2026-07-29 08:29:29 +00:00
// Dependencies: [541]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 4443 (RequireObjectCoercible)
2026-07-20 16:05:17 +00:00
export default function RequireObjectCoercible(arg0) {
if (null == arg0) {
let text = arguments.length > 0;
2026-07-29 08:29:29 +00:00
let tmp3 = require(541);
2026-07-20 16:05:17 +00:00
if (text) {
text = arguments[1];
}
if (!text) {
text = `Cannot call method on ${arg0}`;
}
tmp3 = new tmp3(text);
throw tmp3;
} else {
return arg0;
}
};