decord/source/763_toString.js
2026-08-04 21:03:28 +00:00

38 lines
789 B
JavaScript

// Module ID: 763
// Function ID: 764
// Name: toString
// Dependencies: [608, 599, 764, 638]
// Module 763 (toString)
let prototype;
if (require("module_608")) {
prototype = require("module_608").prototype;
}
let toString;
if (prototype) {
toString = prototype.toString;
}
function baseToString(str) {
if (typeof str === "string") {
return str;
} else if (require(599)(str)) {
return "" + tmp5(764)(str, baseToString);
} else if (tmp5(638)(str)) {
if (!toString) {
return "";
} else {
const call = tmp2.call;
typeof call === "unknown" ? tmp2() : call(str);
}
} else {
const text = `${str}`;
if ("0" !== `${str}`) {
let str2 = text;
} else {
str2 = "-0";
}
return str2;
}
}
export default baseToString;