---
title: "DispatchPredicate.notOnQueue(_:)"
framework: dispatch
role: symbol
role_heading: Case
path: "dispatch/dispatchpredicate/notonqueue(_:)"
---

# DispatchPredicate.notOnQueue(_:)

A predicate that indicates the evaluated context is not the associated dispatch queue.

## Declaration

```swift
case notOnQueue(DispatchQueue)
```

## See Also

### Predicates

- [DispatchPredicate.onQueue(_:)](dispatch/dispatchpredicate/onqueue(_:).md)
- [DispatchPredicate.onQueueAsBarrier(_:)](dispatch/dispatchpredicate/onqueueasbarrier(_:).md)
