<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -",
    "macCatalyst: 11.3.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ClassKit",
  "identifier" : "/documentation/ClassKit/CLSBinaryItem/valueType",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ClassKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLSBinaryItem(py)valueType"
  },
  "title" : "valueType"
}
-->

# valueType

The kind of outcome that the binary activity item represents.

```
var valueType: CLSBinaryValueType { get }
```

## Discussion

Use this property to indicate how to present the binary result stored in the [`value`](/documentation/ClassKit/CLSBinaryItem/value) property to a teacher. For example, you might use a binary item to indicate whether a student passed a quiz, in which case you set [`valueType`](/documentation/ClassKit/CLSBinaryItem/valueType) to [`CLSBinaryValueType.passFail`](/documentation/ClassKit/CLSBinaryValueType/passFail). If you use another binary item to indicate whether a student used a hint while taking the quiz, set its [`valueType`](/documentation/ClassKit/CLSBinaryItem/valueType) to [`CLSBinaryValueType.yesNo`](/documentation/ClassKit/CLSBinaryValueType/yesNo). For a complete list of possible values, see the [`CLSBinaryValueType`](/documentation/ClassKit/CLSBinaryValueType) enumeration.

---

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)