---
title: NSComparisonPredicate.Modifier.any
framework: foundation
role: symbol
role_heading: Case
path: foundation/nscomparisonpredicate/modifier/any
---

# NSComparisonPredicate.Modifier.any

A predicate to match with any entry in the destination of a to-many relationship.

## Declaration

```swift
case any
```

## Discussion

Discussion The left hand side must be a collection. The corresponding predicate compares each value in the left hand side against the right hand side and returns true when it finds the first match—or false if no match is found

## See Also

### Constants

- [NSComparisonPredicate.Modifier.direct](foundation/nscomparisonpredicate/modifier/direct.md)
- [NSComparisonPredicate.Modifier.all](foundation/nscomparisonpredicate/modifier/all.md)
