Home > widget-integration > ModuleRef > findImportedModuleInstance
ModuleRef.findImportedModuleInstance() method
Signature:
findImportedModuleInstance<T>(predicate: (instance: T) => boolean): T | undefined;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
predicate |
(instance: T) => boolean |
Returns:
T | undefined