External module seng-event/lib/eventHasType
Functions
eventHasType
eventHasType<TType>( event: BaseEvent < any , any > , type: TType ) : boolean
Type parameters
Parameters
Returns boolean
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Checks if the given BaseEvent has a the given type and if so, asserts to the compiler that it is a BaseEvent with that specific type as the
type
property.