decord/source/739_baseIsNative.js
2026-07-29 08:29:29 +00:00

26 lines
875 B
JavaScript

// Module ID: 739
// Function ID: 740
// Name: baseIsNative
// Dependencies: [606, 740, 605, 742]
// Module 739 (baseIsNative)
const re2 = /^\[object .+?Constructor\]$/;
const call = toString.call;
const str = typeof call === "unknown" ? toString() : call(hasOwnProperty);
let closure_3 = RegExp(`^${typeof call === "unknown" ? toString() : call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?")}$`);
export default function baseIsNative(arg0) {
let tmp2 = dependencyMap;
const tmp3 = require(606) /* isObject */(arg0);
let tmp4 = !tmp3;
if (tmp3) {
tmp4 = tmp(740)(arg0);
}
if (tmp4) {
return !tmp4;
} else {
tmp2 = tmp(742)(arg0);
const isMatch = tmp(605)(arg0) ? closure_3 : closure_2.test(tmp2);
const obj = tmp(605)(arg0) ? closure_3 : closure_2;
}
};