28 lines
713 B
TypeScript
28 lines
713 B
TypeScript
// Module ID: 12485
|
|
// Function ID: 12486
|
|
// Name: isOnPlayStation
|
|
// Dependencies: [676, 2]
|
|
// Exports: default
|
|
|
|
// Module 12485 (isOnPlayStation)
|
|
import set from "set" /* 2 */;
|
|
import ME from "ME" /* 676 */;
|
|
|
|
const ActivityGamePlatforms = ME.ActivityGamePlatforms;
|
|
const result = set.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;
|
|
};
|