MCPcopy Index your code
hub / github.com/angular/angular / canMatchTeam

Function canMatchTeam

packages/examples/router/route_functional_guards.ts:115–121  ·  view source on GitHub ↗
(
  route: Route,
  segments: UrlSegment[],
  currentSnapshot: PartialMatchRouteSnapshot,
)

Source from the content-addressed store, hash-verified

113
114// #docregion CanMatchFn
115const canMatchTeam: CanMatchFn = (
116 route: Route,
117 segments: UrlSegment[],
118 currentSnapshot: PartialMatchRouteSnapshot,
119) => {
120 return inject(PermissionsService).canMatch(inject(UserToken));
121};
122
123bootstrapApplication(App, {
124 providers: [

Callers

nothing calls this directly

Calls 2

injectFunction · 0.90
canMatchMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…