ReferenceTypeScript APIInterfacesUIEventOn this pageUIEventSimple user interface events.PropertiestargetNodetargetNode: Nodewinwin: Windowdocdoc: DocumentMethodsinstanceOfinstanceOf: <T>(type: new (...data: any[]) => T) => this is TCross-window capable instanceof check, a drop-in replacement for instanceof checks on UIEvents.