<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabularData",
  "identifier" : "/documentation/TabularData/-(_:_:)-95yoe",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "TabularData"
    ],
    "preciseIdentifier" : "s:11TabularData1soiyAA6ColumnVy14WrappedElementQzGx_q_tAA08OptionalC8ProtocolRzAA0cG0R_s18AdditiveArithmeticAFRQ0E0Qy_AFRSr0_lF"
  },
  "title" : "-(_:_:)"
}
-->

# -(_:_:)

Generates a column by subtracting each element in a column type
from the corresponding elements of an optional column.

```
func - <L, R>(lhs: L, rhs: R) -> Column<R.Element> where L : OptionalColumnProtocol, R : ColumnProtocol, L.WrappedElement : AdditiveArithmetic, L.WrappedElement == R.Element
```

## Parameters

`lhs`

An optional column type.

`rhs`

A column type.

## Return Value

A new column with the same type as the right column.

---

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)