decord/alpha/source/modules/applications/useIsSocialLayerParentApplication.tsx
github-actions 52331fb8ae chore: update source for alpha 349.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5051.js (118.4 MB)
2026-09-30 07:29:52 +00:00

23 lines
951 B
TypeScript

// Module ID: 8721
// Function ID: 8722
// Name: useIsSocialLayerParentApplication
// Dependencies: [19, 1074, 8517, 2]
// Exports: default, getIsSocialLayerParentApplication
// Module 8721 (useIsSocialLayerParentApplication)
import ApplicationFlagUtils from "ApplicationFlagUtils" /* 8517 */;
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);
};