20 lines
405 B
JavaScript
20 lines
405 B
JavaScript
// Module ID: 758
|
|
// Function ID: 759
|
|
// Name: isKeyable
|
|
// Dependencies: []
|
|
|
|
// Module 758 (isKeyable)
|
|
|
|
export default function isKeyable(str) {
|
|
if (typeof str !== "string") {
|
|
if (typeof str !== "number") {
|
|
if (typeof str !== "symbol") {
|
|
if (typeof str !== "boolean") {
|
|
let tmp = null === str;
|
|
}
|
|
return tmp;
|
|
}
|
|
}
|
|
}
|
|
tmp = "__proto__" !== str;
|
|
};
|