hasListener

abstract fun hasListener(type: Class<out T>): Boolean

Checks if this event node has a listener for the given event type.

Due to the nature of event nodes, this method will check both this node and all of its children for listeners.

Return

true if this node has a listener for the given event type

Parameters

type

the event type