Files
discord-decomp/sources/by-id/module-00051.jsx
T
2026-07-27 16:20:00 +03:00

27 lines
1.2 KiB
React

/* Metro module 51; source: unknown; dependencies: [] */
function _fun1361(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1361, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:76:6, offset: 0x00c5a570, size: 89 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const Map = global.Map;
const map = new Map();
exports.unstable_hasComponent = unstable_hasComponent;
}
function unstable_hasComponent(a0) { // fn#1362, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:76:130, offset: 0x00c5a5c9, size: 107 bytes, params: 2, frame: 15
var value3;
let binding = env0_1;
const value2 = binding.get(a0);
if (value2 != null) {
return value2;
}
if (env0_0.__nativeComponentRegistry__hasComponent) {
binding = env0_0;
value3 = binding.__nativeComponentRegistry__hasComponent(a0);
binding = env0_1;
binding.set(a0, value3);
return value3;
}
throw "unstable_hasComponent('" + a0 + "'): Global function is not registered";
}