---
title: valueType
framework: classkit
role: symbol
role_heading: Instance Property
path: classkit/clsbinaryitem/valuetype
---

# valueType

The kind of outcome that the binary activity item represents.

## Declaration

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

## Discussion

Discussion Use this property to indicate how to present the binary result stored in the 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 to CLSBinaryValueType.passFail. If you use another binary item to indicate whether a student used a hint while taking the quiz, set its valueType to CLSBinaryValueType.yesNo. For a complete list of possible values, see the CLSBinaryValueType enumeration.

## See Also

### Managing the Value

- [value](classkit/clsbinaryitem/value.md)
