decord/source/modules/self_mod/SelfModUtils.tsx

19 lines
548 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 5665
2026-07-21 22:01:30 +00:00
// Function ID: 48649
2026-07-20 16:05:17 +00:00
// Name: isCurrentUserTeen
// Dependencies: []
// Exports: isCurrentUserTeen
2026-07-21 06:55:02 +00:00
// Module 5665 (isCurrentUserTeen)
2026-07-20 16:05:17 +00:00
let closure_0 = importDefault(dependencyMap[0]);
const result = arg1(dependencyMap[1]).fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
export const isCurrentUserTeen = function isCurrentUserTeen() {
const currentUser = currentUser.getCurrentUser();
let nsfwAllowed;
if (null != currentUser) {
nsfwAllowed = currentUser.nsfwAllowed;
}
return false === nsfwAllowed;
};