exists<T> static method

bool exists<T>()

Checks if a type of event is already registered.

Implementation

static bool exists<T>() {
  return Event._registry.containsKey(T);
}