Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ isAnchor
Function
isAnchor
packages/common/upgrade/src/utils.ts:30–32 ·
view source on GitHub ↗
(el: (Node & ParentNode) | Element | null)
Source
from the content-addressed store, hash-verified
28
}
29
30
export
function
isAnchor(el: (Node & ParentNode) | Element | null): el is HTMLAnchorElement {
31
return
(<HTMLAnchorElement>el).href !== undefined;
32
}
Callers
1
initialize
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected