---
title: "||(_:_:)"
framework: realitykit
role: symbol
role_heading: Operator
path: "realitykit/__(_:_:)"
---

# ||(_:_:)

Returns a predicate which evaluates to true if left OR right evaluates to true.

## Declaration

```swift
func || <Value>(left: QueryPredicate<Value>, right: QueryPredicate<Value>) -> QueryPredicate<Value>
```

## See Also

### Comparing predicates

- [!(_:)](realitykit/!(_:).md)
- [&&(_:_:)](realitykit/&&(_:_:).md)
