---
title: "<=(_:_:)"
framework: combine
role: symbol
role_heading: Operator
path: "combine/subscribers/demand/_=(_:_:)-9cywv"
---

# <=(_:_:)

Returns a Boolean value that indicates whether the first demand requests fewer or the same number of elements as the second.

## Declaration

```swift
static func <= (lhs: Subscribers.Demand, rhs: Subscribers.Demand) -> Bool
```

## Discussion

Discussion If both sides are .unlimited, the result is always true. If lhs is .unlimited, then the result is always false. If rhs is unlimited then the result is always true. Otherwise, this operator compares the demands’ max values.

## See Also

### Comparing demands

- [==(_:_:)](combine/subscribers/demand/==(_:_:)-4oy8i.md)
- [==(_:_:)](combine/subscribers/demand/==(_:_:)-7246z.md)
- [!=(_:_:)](combine/subscribers/demand/!=(_:_:)-3j2h8.md)
- [!=(_:_:)](combine/subscribers/demand/!=(_:_:)-2dj1p.md)
- [<(_:_:)](combine/subscribers/demand/_(_:_:)-1wuod.md)
- [<(_:_:)](combine/subscribers/demand/_(_:_:)-ciby.md)
- [<(_:_:)](combine/subscribers/demand/_(_:_:)-8nf1g.md)
- [<=(_:_:)](combine/subscribers/demand/_=(_:_:)-5f62z.md)
- [<=(_:_:)](combine/subscribers/demand/_=(_:_:)-2otvi.md)
- [>(_:_:)](combine/subscribers/demand/_(_:_:)-35p6f.md)
- [>(_:_:)](combine/subscribers/demand/_(_:_:)-4k1xp.md)
- [>(_:_:)](combine/subscribers/demand/_(_:_:)-74yle.md)
- [>=(_:_:)](combine/subscribers/demand/_=(_:_:)-6lv9s.md)
- [>=(_:_:)](combine/subscribers/demand/_=(_:_:)-28c1e.md)
- [>=(_:_:)](combine/subscribers/demand/_=(_:_:)-5xnt.md)
