(spec: string)
| 109 | return /@nativescript(?:[\/_-])core(?:[\/_-])globals/.test(spec || ''); |
| 110 | } |
| 111 | function isNativeScriptCoreModule(spec: string): boolean { |
| 112 | return /^(?:@nativescript[\/_-]core|@nativescript\/core)(?:\b|\/)/i.test(spec || ''); |
| 113 | } |
| 114 | function isNativeScriptPluginModule(spec: string): boolean { |
| 115 | return /^@nativescript\//i.test(spec || '') && !isNativeScriptCoreModule(spec || ''); |
| 116 | } |
no test coverage detected