Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
36 lines
714 B
JavaScript
36 lines
714 B
JavaScript
// Module ID: 6954
|
|
// Function ID: 6955
|
|
// Dependencies: [17]
|
|
// Exports: isNewArch
|
|
|
|
// Module 6954
|
|
import _mod17 from "module_17" /* 17 */;
|
|
|
|
const Platform = _mod17.Platform;
|
|
|
|
export const isNewArch = function isNewArch() {
|
|
if (undefined !== c1) {
|
|
return c1;
|
|
} else {
|
|
try {
|
|
let prop;
|
|
if (global != null) {
|
|
prop = tmp2.nativeFabricUIManager;
|
|
}
|
|
let flag = Boolean(prop);
|
|
if (global != null) {
|
|
const __turboModuleProxy = tmp2.__turboModuleProxy;
|
|
}
|
|
if (!flag) {
|
|
flag = Boolean(__turboModuleProxy);
|
|
}
|
|
if (!flag) {
|
|
flag = false;
|
|
}
|
|
c1 = flag;
|
|
return c1;
|
|
} catch (err) {
|
|
c1 = true;
|
|
}
|
|
}
|
|
};
|