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

# <=(_:_:)

Returns a Boolean that indicates whether the demand requests fewer or the same number of elements as the given integer.

## Declaration

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

## Discussion

Discussion If lhs is .unlimited, then the result is always false. Otherwise, the operator compares the demand’s max value to rhs.

## 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/_=(_:_:)-9cywv.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)
