# ShiftLeft

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

Interface for the `<<` operator.

`a << b` becomes `a.shiftLeft(b)`.

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

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

## Members

### `Output`

The result type.

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

Shift this value left by `other`.
