<!--
{
  "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/-(_:_:)-25cs6",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "TabularData"
    ],
    "preciseIdentifier" : "s:11TabularData1soiyAA6ColumnVy7ElementQzGx_q_tAA0C8ProtocolRzAA08OptionalcE0R_s18AdditiveArithmeticAFRQ07WrappedD0Qy_AFRSr0_lF"
  },
  "title" : "-(_:_:)"
}
-->

# -(_:_:)

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

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

## Parameters

`lhs`

A column type.

`rhs`

An optional column type.

## Return Value

A new column with the same type as the left 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)