---
title: areInIncreasingOrder
framework: combine
role: symbol
role_heading: Instance Property
path: combine/publishers/trycomparison/areinincreasingorder
---

# areInIncreasingOrder

A closure that receives two elements and returns true if they are in increasing order.

## Declaration

```swift
let areInIncreasingOrder: (Upstream.Output, Upstream.Output) throws -> Bool
```

## See Also

### Inspecting publisher properties

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