@microsoft/fast-element > TypeRegistry > getForInstance
TypeRegistry.getForInstance() method
Gets a definition by instance.
Signature:
getForInstance(object: any): TDefinition | undefined;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
object |
any |
The instance to retrieve the definition for. |
Returns:
TDefinition | undefined