<!--
{
  "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/value",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ClassKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLSBinaryItem(py)value"
  },
  "title" : "value"
}
-->

# value

The value that the binary activity item takes.

```
var value: Bool { get set }
```

## Discussion

Interpret this value according to the binary activity item’s [`valueType`](/documentation/ClassKit/CLSBinaryItem/valueType). For example, if the value type is set to [`CLSBinaryValueType.passFail`](/documentation/ClassKit/CLSBinaryValueType/passFail), then false means fail, and true means pass.

---

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)