---
title: rightExpression
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsruleeditor/predicatepartkey/rightexpression
---

# rightExpression

The corresponding value is an NSExpression object representing the right expression in the predicate.

## Declaration

```swift
static let rightExpression: NSRuleEditor.PredicatePartKey
```

## Discussion

Discussion This value is required for a non-nil comparison predicate.

## See Also

### Predicate Part Keys

- [comparisonModifier](appkit/nsruleeditor/predicatepartkey/comparisonmodifier.md)
- [compoundType](appkit/nsruleeditor/predicatepartkey/compoundtype.md)
- [customSelector](appkit/nsruleeditor/predicatepartkey/customselector.md)
- [leftExpression](appkit/nsruleeditor/predicatepartkey/leftexpression.md)
- [operatorType](appkit/nsruleeditor/predicatepartkey/operatortype.md)
- [options](appkit/nsruleeditor/predicatepartkey/options.md)
