<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FinanceKit",
  "identifier" : "/documentation/FinanceKit/TransactionQuery/predicate(forTransactionTypes:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "FinanceKit"
    ],
    "preciseIdentifier" : "s:10FinanceKit16TransactionQueryV9predicate03forC5Types10Foundation9PredicateVyAA0C0V_QPGSayAA0C4TypeOG_tFZ"
  },
  "title" : "predicate(forTransactionTypes:)"
}
-->

# predicate(forTransactionTypes:)

Returns a predicate that matches any of the provided transaction types.

```
static func predicate(forTransactionTypes transactionTypes: [TransactionType]) -> Predicate<Transaction>
```

## Parameters

`transactionTypes`

Transaction types to match against.

---

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)