Contents

subscript(of:)

Returns the identifiers and corresponding states of all equipment that conform to the given type.

Declaration

subscript<E>(of type: E.Type) -> [(identifier: EquipmentIdentifier, state: E.State)] where E : Equipment { get }

Parameters

  • type:

    All returned equipment identifiers and states correspond to equipment of this given type.