<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHID",
  "identifier" : "/documentation/CoreHID/HIDElement/type",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core HID"
    ],
    "preciseIdentifier" : "s:7CoreHID10HIDElementV4typeAA13HIDReportTypeOvp"
  },
  "title" : "type"
}
-->

# type

The type of this element.

```
var type: HIDReportType
```

## Discussion

The type of an element is determined by the report that contains it.

See [`HIDReportType`](/documentation/CoreHID/HIDReportType) for more details.

---

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)