MCPcopy
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
30export function isAnchor(el: (Node & ParentNode) | Element | null): el is HTMLAnchorElement {
31 return (<HTMLAnchorElement>el).href !== undefined;
32}

Callers 1

initializeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…