decord/source/modules/self_mod/SelfModUtils.tsx
2026-07-23 10:11:24 +00:00

19 lines
560 B
TypeScript

// Module ID: 5669
// Function ID: 48684
// Name: isCurrentUserTeen
// Dependencies: [1849, 2]
// Exports: isCurrentUserTeen
// Module 5669 (isCurrentUserTeen)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
const result = require("set").fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
export const isCurrentUserTeen = function isCurrentUserTeen() {
currentUser = currentUser.getCurrentUser();
let nsfwAllowed;
if (null != currentUser) {
nsfwAllowed = currentUser.nsfwAllowed;
}
return false === nsfwAllowed;
};