2026-08-26 06:04:24 +00:00
|
|
|
// Module ID: 5812
|
|
|
|
|
// Function ID: 5813
|
2026-08-24 06:08:38 +00:00
|
|
|
// Name: toPropertyKey
|
2026-08-26 06:04:24 +00:00
|
|
|
// Dependencies: [5813, 5814]
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-08-26 06:04:24 +00:00
|
|
|
// Module 5812 (toPropertyKey)
|
|
|
|
|
import toPrimitive from "toPrimitive" /* 5813 */;
|
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;
|
|
|
|
|
};
|