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

Function isCoreGlobalsReference

packages/vite/hmr/server/websocket.ts:108–110  ·  view source on GitHub ↗
(spec: string)

Source from the content-addressed store, hash-verified

106
107// NativeScript module detectors
108function isCoreGlobalsReference(spec: string): boolean {
109 return /@nativescript(?:[\/_-])core(?:[\/_-])globals/.test(spec || '');
110}
111function isNativeScriptCoreModule(spec: string): boolean {
112 return /^(?:@nativescript[\/_-]core|@nativescript\/core)(?:\b|\/)/i.test(spec || '');
113}

Callers 3

registerDependencyFileFunction · 0.85
addCandidateFunction · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected