Contents

subscript(of:id:)

Returns and/or modifies the state for the equipment with given identifier and matching type.

Declaration

subscript<E>(of type: E.Type, id equipmentID: EquipmentIdentifier) -> E.State? where E : Equipment { get set }

Parameters

  • type:

    The type of the equipment.

See Also

Accessing the subscript