---
title: "&&(_:_:)"
framework: createml
role: symbol
role_heading: Operator
path: "createml/mldatacolumn/&&(_:_:)"
---

# &&(_:_:)

Creates a column of Booleans by performing a logical AND operation on each element in the first column with the corresponding element in the second column.

## Declaration

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

## Parameters

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

## Return Value

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

## See Also

### Combining columns of booleans to generate a column of booleans

- [||(_:_:)](createml/mldatacolumn/__(_:_:).md)
