listens method

bool listens(
  1. String type
)

Returns true if a particular event type has any listeners attached to it.

Implementation

external bool listens(String type);