# And

`import { And } from "destack:ops";`

Interface for the `&` operator.

`a & b` becomes `a.and(b)`.

```ds title="And"
export newtype interface And<T = this> {
    Output;
    and(other: T): this.Output;
}
```

[language/library/src/ops/bitwise.ds:5:11](https://github.com/destack-sh/destack/blob/main/language/library/src/ops/bitwise.ds#L5-L11)

## Members

### `Output`

The result type.

### `and(other: T): this.Output`

Apply bitwise or elementwise AND.
