Event.hasName

Checks if event has the given name. This function is usually used to check the name of a custom event.

class Event
bool
hasName
(
string name
)

Parameters

name string

name to check

Return Value

Type: bool

TRUE if name matches the name of the event structure.