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

Class AdminGuard

packages/examples/router/utils/functional_guards.ts:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12// #docregion CanActivate
13@Injectable({providedIn: 'root'})
14export class AdminGuard {
15 canActivate() {
16 return true;
17 }
18}
19
20const route: Route = {
21 path: 'admin',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…