EventDispatcher:hasEventListener

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2011.6
Class: EventDispatcher

Description

Checks if the EventDispatcher object has an event listener registered for the specified type of event.

(bool) = EventDispatcher:hasEventListener(type)

Parameters

type: (string) The type of event.

Return values

Returns (bool) A value of true if a listener of the specified type is registered; false otherwise.