isRegistered<C extends Component> method

bool isRegistered<C extends Component>()

Whether type C has been registered as a queryable type.

Implementation

bool isRegistered<C extends Component>() {
  return _queries?.containsKey(C) ?? false;
}