equipment(of:matching:)
Declaration
func equipment<E>(of type: E.Type, matching equipmentID: EquipmentIdentifier) -> (E, E.State)? where E : Equipmentfunc equipment<E>(of type: E.Type, matching equipmentID: EquipmentIdentifier) -> (E, E.State)? where E : Equipment