---
title: operatorType
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsruleeditor/predicatepartkey/operatortype
---

# operatorType

The corresponding value is an NSNumber object representing a NSPredicateOperatorType constant.

## Declaration

```swift
static let operatorType: 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)
- [options](appkit/nsruleeditor/predicatepartkey/options.md)
- [rightExpression](appkit/nsruleeditor/predicatepartkey/rightexpression.md)
