decord/source/modules/applications/useIsSocialLayerParentApplication.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

22 lines
935 B
TypeScript

// Module ID: 9172
// Function ID: 9173
// Name: useIsSocialLayerParentApplication
// Dependencies: [19, 673, 8786, 2]
// Exports: default, getIsSocialLayerParentApplication
// Module 9172 (useIsSocialLayerParentApplication)
import getApplicationFlags from "getApplicationFlags" /* 8786 */;
import closure_2 from "noop" /* 19 */;
import { ApplicationFlags } from "ME" /* 673 */;
require = arg1;
const result = require("set").fileFinishedImporting("modules/applications/useIsSocialLayerParentApplication.tsx");
export default function useIsSocialLayerParentApplication(arg0) {
closure_0 = arg0;
const items = [arg0];
return React.useMemo(() => callback(closure_1_1[2]).hasApplicationFlag(callback, closure_1_3.PARENT), items);
};
export const getIsSocialLayerParentApplication = function getIsSocialLayerParentApplication(application) {
return getApplicationFlags.hasApplicationFlag(application, ApplicationFlags.PARENT);
};