decord/source/5665_isNewArch.js
2026-08-13 07:00:46 +00:00

36 lines
720 B
JavaScript

// Module ID: 5665
// Function ID: 5666
// Name: isNewArch
// Dependencies: [17]
// Exports: isNewArch
// Module 5665 (isNewArch)
import { Platform } from "get ActivityIndicator";
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;
}
}
};