decord/beta/source/modules/self_mod/SelfModUtils.tsx

21 lines
559 B
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 6989
// Function ID: 6990
// Name: SelfModUtils
2026-10-12 16:32:48 +00:00
// Dependencies: [1390, 2]
// Exports: isCurrentUserTeen
2026-10-12 16:32:48 +00:00
// Module 6989 (SelfModUtils)
import UserStore from "UserStore" /* 1390 */;
2026-10-01 14:13:23 +00:00
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
export const isCurrentUserTeen = function isCurrentUserTeen() {
const currentUser = UserStore.getCurrentUser();
let nsfwAllowed;
if (currentUser != null) {
nsfwAllowed = currentUser.nsfwAllowed;
}
return false === nsfwAllowed;
};