Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ canActivate
Function
canActivate
packages/router/test/standalone.spec.ts:199–202 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
197
abstract
class
ServiceBase {
198
abstract name: string;
199
canActivate() {
200
canActivateLog.push(this.name);
201
return
true;
202
}
203
}
204
205
@Injectable()
Callers
nothing calls this directly
Calls
1
push
Method · 0.45
Tested by
no test coverage detected