reparent(ids:to:)
Change the parent of the equipment matching the given identifiers. The reparented equipment is appended at the end of the parent’s children.
Declaration
func reparent(ids: [EquipmentIdentifier], to parent: EquipmentIdentifier)Parameters
- ids:
The collection of equipment identifiers to corresponding to the equipment to reparent.
- parent:
The identifier of the new parent.