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

# subscript(of:)

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

```
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.

---

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)