decord/source/740_toString.js

38 lines
753 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 740
2026-07-25 08:10:48 +00:00
// Function ID: 8791
2026-07-20 16:05:17 +00:00
// Name: toString
2026-07-23 10:11:24 +00:00
// Dependencies: [579, 591, 741, 576]
2026-07-20 16:05:17 +00:00
// Module 740 (toString)
let prototype;
2026-07-23 10:11:24 +00:00
if (require("module_579")) {
prototype = require("module_579").prototype;
2026-07-20 16:05:17 +00:00
}
let toString;
if (prototype) {
toString = prototype.toString;
}
function baseToString(arg0) {
if ("string" === typeof arg0) {
return arg0;
2026-07-23 10:11:24 +00:00
} else if (require(591)(arg0)) {
return "" + tmp7(741)(arg0, baseToString);
} else if (tmp7(576)(arg0)) {
2026-07-20 16:05:17 +00:00
let str3 = "";
if (toString) {
str3 = toString.call(arg0);
}
return str3;
} else {
const text = `${arg0}`;
if ("0" !== `${arg0}`) {
let str2 = text;
} else {
str2 = "-0";
}
return str2;
}
}
export default baseToString;