Files
discord-decomp/sources/by-id/module-03429-getRoundingMethod.js
2026-07-28 01:06:53 +03:00

24 lines
1.1 KiB
JavaScript

/* Metro module 3429; source: unknown; dependencies: [] */
function _fun26580(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26580, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3556:6, offset: 0x00f47cf1, size: 125 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.getRoundingMethod = getRoundingMethod;
object = {};
let Math = global.Math;
object.ceil = Math.ceil;
Math = global.Math;
object.round = Math.round;
Math = global.Math;
object.floor = Math.floor;
object.trunc = function(a0) {
return a0 < 0 ? global.Math.ceil(a0) : global.Math.floor(a0);
};
function getRoundingMethod(a0) { // fn#26581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3556:112, offset: 0x00f47d6e, size: 29 bytes, params: 2, frame: 4
const binding = env0_0;
return a0 ? binding[a0] : binding[env0_1];
}
}
global.__d(_fun26580, 3429, []) /* metro module 3429 */;