38 lines
1.5 KiB
TypeScript
38 lines
1.5 KiB
TypeScript
/* Metro module 1360; source: utils/GlobalUtils.tsx; dependencies: [2] */
|
|
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun15586(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#15586, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1487:6, offset: 0x00e36c4f, size: 185 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const GLOBAL_ENV = global.window.GLOBAL_ENV;
|
|
const PROJECT_ENV = GLOBAL_ENV.PROJECT_ENV;
|
|
const result = PROJECT_ENV === 'development';
|
|
(FileImportTrackerModule).fileFinishedImporting('utils/GlobalUtils.tsx');
|
|
exports.isDiscordFrontendDevelopment = function() {
|
|
return false;
|
|
};
|
|
exports.isDiscordBackendDevelopment = function() {
|
|
return result;
|
|
};
|
|
exports.assertNever = function(a0) {
|
|
var Error = global.Error;
|
|
var value = 'Unhandled value: ' + a0;
|
|
value = new Error(value);
|
|
throw value;
|
|
};
|
|
exports.isNotNullish = function(a0) {
|
|
return a0 != null;
|
|
};
|
|
exports.isIn = function(a0, a1) {
|
|
return a1.includes(a0);
|
|
};
|
|
exports.isInSet = function(a0, a1) {
|
|
return a1.has(a0);
|
|
};
|
|
exports.isObjectEntryNotNullish = function(a0) {
|
|
return a0[1] != null;
|
|
};
|
|
}
|
|
|
|
global.__d(_fun15586, 1360, [2]) /* metro module 1360, dependencies: [2] */;
|