<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Combine",
  "identifier" : "/documentation/Combine/Subscribers/Demand/_(_:_:)-1wuod",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Combine"
    ],
    "preciseIdentifier" : "s:7Combine11SubscribersO6DemandV1loiySbSi_AEtFZ"
  },
  "title" : "<(_:_:)"
}
-->

# <(_:_:)

Returns a Boolean that indicates a given number of elements is less than the maximum specified by the demand.

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

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)