decord/source/5355_isNewArch.js

33 lines
721 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 5355
2026-07-27 11:26:19 +00:00
// Function ID: 45970
2026-07-20 16:05:17 +00:00
// Name: isNewArch
2026-07-23 10:11:24 +00:00
// Dependencies: [27]
2026-07-20 16:05:17 +00:00
// Exports: isNewArch
2026-07-23 10:11:24 +00:00
// Module 5355 (isNewArch)
import { Platform } from "get ActivityIndicator";
2026-07-20 16:05:17 +00:00
export const isNewArch = function isNewArch() {
if (undefined !== flag) {
return flag;
} else {
let prop;
if (null != global) {
prop = global.nativeFabricUIManager;
}
const BooleanResult = Boolean(prop);
if (null != global) {
const __turboModuleProxy = global.__turboModuleProxy;
}
let BooleanResult1 = BooleanResult;
if (!BooleanResult) {
BooleanResult1 = Boolean(__turboModuleProxy);
}
2026-07-23 10:11:24 +00:00
flag = BooleanResult1;
2026-07-20 16:05:17 +00:00
if (!BooleanResult1) {
flag = false;
}
}
};