28 lines
743 B
TypeScript
28 lines
743 B
TypeScript
// Module ID: 13074
|
|
// Function ID: 13075
|
|
// Name: isOnPlayStation
|
|
// Dependencies: [1085, 2]
|
|
// Exports: default
|
|
|
|
// Module 13074 (isOnPlayStation)
|
|
import Constants from "Constants" /* 1085 */;
|
|
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;
|
|
};
|