decord/source/modules/self_mod/SelfModUtils.tsx

20 lines
560 B
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 5838
2026-07-27 11:26:19 +00:00
// Function ID: 51398
2026-07-20 16:05:17 +00:00
// Name: isCurrentUserTeen
2026-07-25 08:10:48 +00:00
// Dependencies: [1850, 2]
2026-07-20 16:05:17 +00:00
// Exports: isCurrentUserTeen
2026-07-25 08:10:48 +00:00
// Module 5838 (isCurrentUserTeen)
2026-07-23 10:11:24 +00:00
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;
};