---
title: predicate
framework: combine
role: symbol
role_heading: Instance Property
path: combine/publishers/trydropwhile/predicate
---

# predicate

The error-throwing closure that indicates whether to drop the element.

## Declaration

```swift
let predicate: (Publishers.TryDropWhile<Upstream>.Output) throws -> Bool
```

## See Also

### Inspecting publisher properties

- [upstream](combine/publishers/trydropwhile/upstream.md)
