2026-09-21 19:31:18 +00:00
|
|
|
// Module ID: 13299
|
|
|
|
|
// Function ID: 13300
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: isOnPlayStation
|
2026-09-21 19:31:18 +00:00
|
|
|
// Dependencies: [1078, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
// Module 13299 (isOnPlayStation)
|
|
|
|
|
import Constants from "Constants" /* 1078 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
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;
|
|
|
|
|
};
|