isInstantiated<S> static method

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

Returns true if type S has been instantiated in the active or parent scope.

Implementation

static bool isInstantiated<S>({String? tag}) {
  return currentScope.isInstantiated<S>(tag: tag);
}