MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / setCurrentApp

Function setCurrentApp

packages/vite/hmr/client/utils.ts:87–89  ·  view source on GitHub ↗
(app: any | null)

Source from the content-addressed store, hash-verified

85// last mounted app instance
86let CURRENT_APP: any | null = null;
87export function setCurrentApp(app: any | null) {
88 CURRENT_APP = app;
89}
90export function getCurrentApp(): any | null {
91 return CURRENT_APP;
92}

Callers 2

buildTargetFunction · 0.85
getRootForVueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected