MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / detect

Function detect

src/resolution/frameworks/angular-router.ts:991–993  ·  view source on GitHub ↗
(context: ResolutionContext)

Source from the content-addressed store, hash-verified

989 languages: ['typescript', 'javascript'],
990
991 detect(context: ResolutionContext): boolean {
992 return dependsOn(context, '@angular/router', '@angular/core');
993 },
994
995 claimsReference(name: string): boolean {
996 return NAV_CALL.test(name) || LAZY_COMPONENT_REF.test(name) || LAYOUT_REF.test(name);

Callers

nothing calls this directly

Calls 1

dependsOnFunction · 0.90

Tested by

no test coverage detected