isInstantiated<S> static method
Whether type S has already been instantiated.
Implementation
static bool isInstantiated<S>({dynamic key, String? tag}) {
if (key is LevitState) {
return key.isInstantiatedIn(Ls.currentScope, tag: tag);
}
return Ls.isInstantiated<S>(tag: tag);
}