decord/source/758_isKeyable.js
2026-08-04 21:03:28 +00:00

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;
};