decord/source/5498_reactNativeVersion.js
2026-08-03 11:20:01 +00:00

24 lines
551 B
JavaScript

// Module ID: 5498
// Function ID: 5499
// Name: reactNativeVersion
// Dependencies: [17]
// Exports: isRN083OrAbove
// Module 5498 (reactNativeVersion)
const constants = require("get ActivityIndicator").Platform.constants;
let reactNativeVersion;
if (constants != null) {
reactNativeVersion = constants.reactNativeVersion;
}
export const isRN083OrAbove = () => {
let tmp2 = reactNativeVersion;
if (reactNativeVersion) {
let tmp3 = tmp.major > 0;
if (!tmp3) {
tmp3 = tmp.minor >= 83;
}
tmp2 = tmp3;
}
return tmp2;
};