<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSRuleEditor/PredicatePartKey/rightExpression",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSRuleEditorPredicateRightExpression"
  },
  "title" : "rightExpression"
}
-->

# rightExpression

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

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

## Discussion

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

---

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)