28 lines
900 B
JavaScript
28 lines
900 B
JavaScript
// Module ID: 739
|
|
// Function ID: 740
|
|
// Name: baseIsNative
|
|
// Dependencies: [606, 740, 605, 742]
|
|
|
|
// Module 739 (baseIsNative)
|
|
import isObject from "isObject" /* 606 */;
|
|
|
|
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 = 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;
|
|
}
|
|
};
|