---
title: hasValidObjectValue
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/hasvalidobjectvalue
---

# hasValidObjectValue

A Boolean value that indicates whether the cell has a valid object value.

## Declaration

```swift
var hasValidObjectValue: Bool { get }
```

## Discussion

Discussion The value of this property is true if the cell has a valid object value or false if it does not. A valid object value is one that the cell’s formatter can “understand.” Objects are always assumed to be valid unless they are rejected by the formatter. Invalid objects can still be accepted by the delegate of the cell’s NSControl object (using the control(_:didFailToFormatString:errorDescription:) delegate method).

## See Also

### Managing Cell Values

- [objectValue](appkit/nscell/objectvalue.md)
- [intValue](appkit/nscell/intvalue.md)
- [integerValue](appkit/nscell/integervalue.md)
- [stringValue](appkit/nscell/stringvalue.md)
- [doubleValue](appkit/nscell/doublevalue.md)
- [floatValue](appkit/nscell/floatvalue.md)
