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:205–208 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
203
abstract
class
ServiceBase {
204
abstract name: string;
205
canActivate() {
206
canActivateLog.push(this.name);
207
return
true;
208
}
209
}
210
211
@Injectable()
Callers
nothing calls this directly
Calls
1
push
Method · 0.45
Tested by
no test coverage detected