2026-08-05 07:35:12 +00:00
|
|
|
// Module ID: 4546
|
|
|
|
|
// Function ID: 4547
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: isPropertyKey
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-08-05 07:35:12 +00:00
|
|
|
// Module 4546 (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;
|
|
|
|
|
};
|