---
title: "-(_:_:)"
framework: combine
role: symbol
role_heading: Operator
path: "combine/subscribers/demand/-(_:_:)-6mw4s"
---

# -(_:_:)

Returns the result of subtracting an integer from a demand.

## Declaration

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

## Discussion

Discussion When subtracting any value from .unlimited, the result is still .unlimited. A negative demand is possible, but be aware that it isn’t usable when requesting values in a subscription.

## See Also

### Performing mathematical operations

- [*(_:_:)](combine/subscribers/demand/*(_:_:).md)
- [*=(_:_:)](combine/subscribers/demand/*=(_:_:).md)
- [+(_:_:)](combine/subscribers/demand/+(_:_:)-2hdad.md)
- [+(_:_:)](combine/subscribers/demand/+(_:_:)-902we.md)
- [+=(_:_:)](combine/subscribers/demand/+=(_:_:)-20lis.md)
- [+=(_:_:)](combine/subscribers/demand/+=(_:_:)-3k1hv.md)
- [-(_:_:)](combine/subscribers/demand/-(_:_:)-1r0gm.md)
- [-=(_:_:)](combine/subscribers/demand/-=(_:_:)-1d0m9.md)
- [-=(_:_:)](combine/subscribers/demand/-=(_:_:)-9pwnc.md)
