decord/beta/source/modules/self_mod/SelfModUtils.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

20 lines
542 B
TypeScript

// Module ID: 7567
// Function ID: 7568
// Name: SelfModUtils
// Dependencies: [1376, 2]
// Exports: isCurrentUserTeen
// Module 7567 (SelfModUtils)
import UserStore from "UserStore" /* 1376 */;
const size = fn(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;
};