<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/EquipmentStateCollection/subscript(of:ids:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Subscript",
  "symbol" : {
    "kind" : "Instance Subscript",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit24EquipmentStateCollectionV2of3idsSay0D0QzSgGxm_q_tcAA0C0RzSTR_AA0C10IdentifierV7ElementRt_r0_luip"
  },
  "title" : "subscript(of:ids:)"
}
-->

# subscript(of:ids:)

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

```
subscript<E>(of type: E.Type, ids equipmentIDs: some Sequence<EquipmentIdentifier>) -> [E.State?] where E : Equipment { get set }
```

## Parameters

`type`

The type of the equipment.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)