2026-08-13 07:00:46 +00:00
|
|
|
// Module ID: 4636
|
|
|
|
|
// Function ID: 4637
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: isPropertyKey
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-08-13 07:00:46 +00:00
|
|
|
// Module 4636 (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;
|
|
|
|
|
};
|