Type guard to check if an EventTarget is an HTMLAnchorElement.
The EventTarget to check
Type predicate indicating if the target is an HTMLAnchorElement
export function isAnchorElement(target: EventTarget | null): target is HTMLAnchorElement { return target instanceof HTMLAnchorElement;} Copy
export function isAnchorElement(target: EventTarget | null): target is HTMLAnchorElement { return target instanceof HTMLAnchorElement;}
Type guard to check if an EventTarget is an HTMLAnchorElement.