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

Function getNativeScriptGlobals

packages/core/globals/global-utils.ts:68–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67}
68export function getNativeScriptGlobals() {
69 if (!global.NativeScriptGlobals) {
70 // init global state handler
71 global.NativeScriptGlobals = new NativeScriptGlobalState();
72 }
73 return global.NativeScriptGlobals;
74}

Callers 7

constructorMethod · 0.90
hasLaunchedMethod · 0.90
handleOnBackPressedFunction · 0.90
onBackPressedMethod · 0.90
style-scope.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected