2026-08-12 06:57:52 +00:00
|
|
|
// Module ID: 4635
|
|
|
|
|
// Function ID: 4636
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: isPropertyKey
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-08-12 06:57:52 +00:00
|
|
|
// Module 4635 (isPropertyKey)
|
2026-07-29 08:29:29 +00:00
|
|
|
|
2026-08-04 21:03:28 +00:00
|
|
|
export default function isPropertyKey(str) {
|
|
|
|
|
let tmp = typeof str === "string";
|
|
|
|
|
if (typeof str !== "string") {
|
|
|
|
|
tmp = typeof str === "symbol";
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|