---
title: "<=(_:_:)"
framework: createml
role: symbol
role_heading: Operator
path: "createml/mldatacolumn/_=(_:_:)-6s5v1"
---

# <=(_:_:)

Creates a column of Booleans by testing whether each element in the first column is less than or equal to the corresponding element in the second column.

## Declaration

```swift
static func <= (a: MLDataColumn<Element>, b: MLDataColumn<Element>) -> MLDataColumn<Bool>
```

## Parameters

- `a`: A column.
- `b`: A column.

## Return Value

Return Value A new column of Booleans if the columns are the same size; otherwise an invalid column.

## See Also

### Comparing columns to generate a column of booleans

- [==(_:_:)](createml/mldatacolumn/==(_:_:)-9e3tx.md)
- [!=(_:_:)](createml/mldatacolumn/!=(_:_:)-1vu4e.md)
- [<(_:_:)](createml/mldatacolumn/_(_:_:)-3om6w.md)
- [>(_:_:)](createml/mldatacolumn/_(_:_:)-2dym4.md)
- [>=(_:_:)](createml/mldatacolumn/_=(_:_:)-4w60p.md)
