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