---
title: compoundType
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsruleeditor/predicatepartkey/compoundtype
---

# compoundType

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

## Declaration

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

## Discussion

Discussion If specified, the other keys are ignored and the predicate for the row will be an NSCompoundPredicate predicate whose subpredicates are the predicates of the subrows of the given row.

## See Also

### Predicate Part Keys

- [comparisonModifier](appkit/nsruleeditor/predicatepartkey/comparisonmodifier.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)
- [rightExpression](appkit/nsruleeditor/predicatepartkey/rightexpression.md)
