RegistryComponent.getChildOrNull method
RegistryComponent › getChildOrNull
Get the single child of the given type.Signature:
getChildOrNull(componentClass: Constructor<TComponent>): null | TComponentParameters:
| Parameter | Type | Description |
|---|---|---|
| componentClass | Constructor<TComponent> | The class of the component to get. |
Returns: null | TComponent — The single registered child of the given type, or null if none are registered.