Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
28 lines
743 B
TypeScript
28 lines
743 B
TypeScript
// Module ID: 13150
|
|
// Function ID: 13151
|
|
// Name: isOnPlayStation
|
|
// Dependencies: [1074, 2]
|
|
// Exports: default
|
|
|
|
// Module 13150 (isOnPlayStation)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const ActivityGamePlatforms = Constants.ActivityGamePlatforms;
|
|
const result = size.fileFinishedImporting("modules/activities/utils/isOnPlayStation.tsx");
|
|
|
|
export default function isOnPlayStation(platform) {
|
|
platform = undefined;
|
|
if (platform != null) {
|
|
platform = platform.platform;
|
|
}
|
|
let tmp3 = platform === ActivityGamePlatforms.PS4;
|
|
if (!tmp3) {
|
|
let platform1;
|
|
if (platform != null) {
|
|
platform1 = platform.platform;
|
|
}
|
|
tmp3 = platform1 === tmp2.PS5;
|
|
}
|
|
return tmp3;
|
|
};
|