existDependency<S> static method

bool existDependency<S>({
  1. String? tag,
})

Whether exist dependency in application container

Implementation

static bool existDependency<S>({String? tag}) {
  return findDependencyByCarrierName(S, tag) != null;
}