<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPredicateEditorRowTemplate/compoundTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPredicateEditorRowTemplate(py)compoundTypes"
  },
  "title" : "compoundTypes"
}
-->

# compoundTypes

Returns the compound predicate types.

```
var compoundTypes: [NSNumber]? { get }
```

## Return Value

An array of <doc://com.apple.documentation/documentation/Foundation/NSNumber> objects specifying compound predicate types. See <doc://com.apple.documentation/documentation/Foundation/NSCompoundPredicate/LogicalType> for possible values.

---

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)