Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,33 @@
|
||||
/* Metro module 1180; source: unknown; dependencies: [] */
|
||||
function _fun13115(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1307:6, offset: 0x00de1b40, size: 52 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.PrimitiveToString = PrimitiveToString;
|
||||
}
|
||||
|
||||
function PrimitiveToString(a0) { // fn#13116, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1307:112, offset: 0x00de1b74, size: 131 bytes, params: 2, frame: 11
|
||||
if (a0 === null) {
|
||||
return '';
|
||||
}
|
||||
const value = typeof a0;
|
||||
if (value === 'string') {
|
||||
return a0;
|
||||
}
|
||||
if (value === 'boolean') {
|
||||
return a0 == 1 ? 'True' : 'False';
|
||||
}
|
||||
if (value === 'number') {
|
||||
return '' + a0;
|
||||
}
|
||||
if (value === 'bigint') {
|
||||
return '' + a0;
|
||||
}
|
||||
if (value === 'undefined') {
|
||||
return undefined;
|
||||
}
|
||||
if (value !== 'symbol') {
|
||||
return a0;
|
||||
}
|
||||
return a0.toString();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user