decord/source/modules/self_mod/SelfModUtils.tsx

20 lines
560 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 5669
2026-07-24 07:16:23 +00:00
// Function ID: 48694
2026-07-20 16:05:17 +00:00
// Name: isCurrentUserTeen
2026-07-23 10:11:24 +00:00
// Dependencies: [1849, 2]
2026-07-20 16:05:17 +00:00
// Exports: isCurrentUserTeen
2026-07-23 10:11:24 +00:00
// Module 5669 (isCurrentUserTeen)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
const result = require("set").fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
2026-07-20 16:05:17 +00:00
export const isCurrentUserTeen = function isCurrentUserTeen() {
2026-07-23 10:11:24 +00:00
currentUser = currentUser.getCurrentUser();
2026-07-20 16:05:17 +00:00
let nsfwAllowed;
if (null != currentUser) {
nsfwAllowed = currentUser.nsfwAllowed;
}
return false === nsfwAllowed;
};