28 lines
715 B
TypeScript
28 lines
715 B
TypeScript
// Module ID: 13007
|
|
// Function ID: 13008
|
|
// Name: isOnPlayStation
|
|
// Dependencies: [1074, 2]
|
|
// Exports: default
|
|
|
|
// Module 13007 (isOnPlayStation)
|
|
import set from "set" /* 2 */;
|
|
import ME from "ME" /* 1074 */;
|
|
|
|
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;
|
|
};
|