# ShiftRight

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

Interface for the `>>` operator.

`a >> b` becomes `a.shiftRight(b)`.

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

[language/library/src/ops/shift.ds:17:23](https://github.com/destack-sh/destack/blob/main/language/library/src/ops/shift.ds#L17-L23)

## Members

### `Output`

The result type.

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

Shift this value right by `other`.
