decord/source/702_toKey.js

22 lines
396 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 702
2026-07-28 08:39:19 +00:00
// Function ID: 8719
2026-07-20 16:05:17 +00:00
// Name: toKey
2026-07-23 10:11:24 +00:00
// Dependencies: [576]
2026-07-20 16:05:17 +00:00
// Module 702 (toKey)
export default function toKey(arg0) {
if ("string" !== typeof arg0) {
2026-07-23 10:11:24 +00:00
if (!require(576) /* isSymbol */(arg0)) {
2026-07-20 16:05:17 +00:00
const text = `${arg0}`;
if ("0" !== `${arg0}`) {
let str2 = text;
} else {
str2 = "-0";
}
return str2;
}
}
return arg0;
};