decord/source/modules/activities/utils/isOnPlayStation.tsx

29 lines
713 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 12152
// Function ID: 12153
2026-07-20 16:05:17 +00:00
// Name: isOnPlayStation
2026-07-29 08:29:29 +00:00
// Dependencies: [676, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 12152 (isOnPlayStation)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const ActivityGamePlatforms = ME.ActivityGamePlatforms;
const result = set.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
};