---
title: compoundPredicateType
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nscompoundpredicate/compoundpredicatetype
---

# compoundPredicateType

The predicate type for the receiver.

## Declaration

```swift
var compoundPredicateType: NSCompoundPredicate.LogicalType { get }
```

## See Also

### Getting Information About a Compound Predicate

- [subpredicates](foundation/nscompoundpredicate/subpredicates.md)
- [NSCompoundPredicate.LogicalType](foundation/nscompoundpredicate/logicaltype.md)
