livecellx.core.SingleCellStatic.remove_component

SingleCellStatic.remove_component(component, component_type=None)

Remove a component from this unit

Parameters:
  • component (SingleUnit) – The component to remove

  • component_type (str, optional) – The type of component. If None, searches all component types.

Returns:

True if the component was removed, False otherwise

Return type:

bool