decord/source/4522_ToString.js

17 lines
392 B
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 4522
// Function ID: 4523
2026-07-29 08:29:29 +00:00
// Name: ToString
// Dependencies: [540, 541]
2026-08-05 07:35:12 +00:00
// Module 4522 (ToString)
2026-07-29 08:29:29 +00:00
let closure_2 = require("getEvalledConstructor")("%String%");
export default function ToString(arg0) {
2026-08-04 21:03:28 +00:00
if (typeof arg0 === "symbol") {
2026-07-29 08:29:29 +00:00
const tmp5 = new require(541)("Cannot convert a Symbol value to a string");
throw tmp5;
} else {
return callback(arg0);
}
};