2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 5746
|
|
|
|
|
// Function ID: 5747
|
2026-08-24 06:08:38 +00:00
|
|
|
// Name: toPropertyKey
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [5747, 5748]
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 5746 (toPropertyKey)
|
|
|
|
|
import toPrimitive from "toPrimitive" /* 5747 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
export default function toPropertyKey(arg0) {
|
|
|
|
|
const tmp = toPrimitive(arg0, "string");
|
|
|
|
|
let text = tmp;
|
|
|
|
|
if ("symbol" != obj.default(tmp)) {
|
|
|
|
|
text = `${tmp}`;
|
|
|
|
|
}
|
|
|
|
|
return text;
|
|
|
|
|
};
|