decord/source/699_isKey.js

46 lines
953 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 699
2026-07-21 22:01:30 +00:00
// Function ID: 8700
2026-07-20 16:05:17 +00:00
// Name: isKey
2026-07-21 22:01:30 +00:00
// Dependencies: []
2026-07-20 16:05:17 +00:00
// Module 699 (isKey)
let closure_2 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
let closure_3 = /^\w*$/;
export default function isKey(arg0, arg1) {
if (require(dependencyMap[0])(arg0)) {
return false;
} else {
let tmp2 = "number" !== tmp;
if (tmp2) {
tmp2 = "symbol" !== tmp;
}
if (tmp2) {
tmp2 = "boolean" !== tmp;
}
if (tmp2) {
tmp2 = null != arg0;
}
if (tmp2) {
tmp2 = !require(dependencyMap[1])(arg0);
}
let tmp6 = !tmp2;
if (tmp2) {
let isMatch = regex2.test(arg0);
if (!isMatch) {
isMatch = !regex.test(arg0);
}
if (!isMatch) {
let tmp11 = null != arg1;
if (tmp11) {
const _Object = Object;
tmp11 = arg0 in Object(arg1);
}
isMatch = tmp11;
}
tmp6 = isMatch;
}
return tmp6;
}
};