2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 13150
|
|
|
|
|
// Function ID: 13151
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isOnPlayStation
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [1074, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 13150 (isOnPlayStation)
|
2026-09-10 05:38:07 +00:00
|
|
|
import Constants from "Constants" /* 1074 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const ActivityGamePlatforms = Constants.ActivityGamePlatforms;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/activities/utils/isOnPlayStation.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function isOnPlayStation(platform) {
|
|
|
|
|
platform = undefined;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (platform != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
platform = platform.platform;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
let tmp3 = platform === ActivityGamePlatforms.PS4;
|
|
|
|
|
if (!tmp3) {
|
2026-07-20 16:05:17 +00:00
|
|
|
let platform1;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (platform != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
platform1 = platform.platform;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp3 = platform1 === tmp2.PS5;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
return tmp3;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|