23 lines
1.0 KiB
TypeScript
23 lines
1.0 KiB
TypeScript
/* Metro module 10260; source: modules/activities/utils/getIsInParty.tsx; dependencies: [2] */
|
|
function _fun79663(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79663, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10446:6, offset: 0x01e5d842, size: 87 bytes, params: 8, frame: 15
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/utils/getIsInParty.tsx');
|
|
exports.getIsInParty = function(a0, a1) {
|
|
var r0;
|
|
var r1;
|
|
var value = undefined;
|
|
var value2 = (a1 == null || a1.party == null ? value : a1.party.id) != null;
|
|
if (value2) {
|
|
r1 = a0 == null || a0.party == null ? value : a0.party.id;
|
|
value = r1 != null;
|
|
r1 = value && a0.party.id === a1.party.id;
|
|
r0 = r1;
|
|
} else {
|
|
r0 = value2;
|
|
}
|
|
return r0;
|
|
};
|
|
}
|
|
|