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

27 lines
667 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 11927
// Function ID: 92324
2026-07-20 16:05:17 +00:00
// Name: isOnPlayStation
2026-07-23 10:11:24 +00:00
// Dependencies: [653, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-27 11:26:19 +00:00
// Module 11927 (isOnPlayStation)
2026-07-23 10:11:24 +00:00
import { ActivityGamePlatforms } from "ME";
const result = require("set").fileFinishedImporting("modules/activities/utils/isOnPlayStation.tsx");
2026-07-20 16:05:17 +00:00
export default function isOnPlayStation(platform) {
platform = undefined;
if (null != platform) {
platform = platform.platform;
}
let tmp2 = platform === ActivityGamePlatforms.PS4;
if (!tmp2) {
let platform1;
if (null != platform) {
platform1 = platform.platform;
}
tmp2 = platform1 === ActivityGamePlatforms.PS5;
}
return tmp2;
};