---
title: "-(_:_:)"
framework: tabulardata
role: symbol
role_heading: Operator
path: "tabulardata/-(_:_:)-25cs6"
---

# -(_:_:)

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

## Declaration

```swift
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

Return Value A new column with the same type as the left column.

## See Also

### Generating a Column by Subtracting Two Columns

- [-(_:_:)](tabulardata/columnprotocol/-(_:_:)-36zol.md)
- [-(_:_:)](tabulardata/-(_:_:)-95yoe.md)
