Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
30 lines
878 B
TypeScript
30 lines
878 B
TypeScript
// Module ID: 13006
|
|
// Function ID: 13007
|
|
// Name: isOnXbox
|
|
// Dependencies: [1920, 1074, 2]
|
|
// Exports: default
|
|
|
|
// Module 13006 (isOnXbox)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import Constants2 from "Constants" /* 1920 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let closure_0 = Constants2.XBOX_ACTIVITY_APPLICATION_ID;
|
|
const ActivityGamePlatforms = Constants.ActivityGamePlatforms;
|
|
const result = size.fileFinishedImporting("modules/activities/utils/isOnXbox.tsx");
|
|
|
|
export default function isOnXbox(application_id) {
|
|
application_id = undefined;
|
|
if (application_id != null) {
|
|
application_id = application_id.application_id;
|
|
}
|
|
let tmp2 = application_id === closure_0;
|
|
if (!tmp2) {
|
|
let platform;
|
|
if (application_id != null) {
|
|
platform = application_id.platform;
|
|
}
|
|
tmp2 = platform === ActivityGamePlatforms.XBOX;
|
|
}
|
|
return tmp2;
|
|
};
|