decord/source/modules/applications/useIsSocialLayerParentApplication.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

23 lines
951 B
TypeScript

// Module ID: 9375
// Function ID: 9376
// Name: useIsSocialLayerParentApplication
// Dependencies: [19, 1074, 8984, 2]
// Exports: default, getIsSocialLayerParentApplication
// Module 9375 (useIsSocialLayerParentApplication)
import ApplicationFlagUtils from "ApplicationFlagUtils" /* 8984 */;
import noop from "module_19" /* 19 */;
require = fn;
const ApplicationFlags = fn(1074).ApplicationFlags;
const size = fn(2);
const result = size.fileFinishedImporting("modules/applications/useIsSocialLayerParentApplication.tsx");
export default function useIsSocialLayerParentApplication(arg0) {
closure_0 = arg0;
const items = [arg0];
return noop.useMemo(() => ApplicationFlagUtils.hasApplicationFlag(closure_0, ApplicationFlags.PARENT), items);
};
export const getIsSocialLayerParentApplication = function getIsSocialLayerParentApplication(application) {
return ApplicationFlagUtils.hasApplicationFlag(application, ApplicationFlags.PARENT);
};