hasHandler<T> static method

bool hasHandler<T>()

Check if a type has a registered handler.

Implementation

static bool hasHandler<T>() => _handlers.containsKey(T);