> For the complete documentation index, see [llms.txt](https://range.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://range.angular-package.dev/draft/greater/constructor.md).

# ★ Constructor

## `Greater()`

Creates the [`Greater`](/draft/greater/overview.md) instance with the given [`value`](#undefined).

{% code title="greater.class.ts" %}

```typescript
constructor(value: Value) {
  super(value);
}
```

{% endcode %}

### `Parameters`

#### `value:`[<mark style="color:green;">`Value`</mark>](/draft/greater/generic-type-variables.md#greater-less-than-value-greater-than)

The value of generic type variable [`Value`](/draft/greater/generic-type-variables.md#greater-less-than-value-greater-than) to set with a new instance.

## Example usage

```typescript
// Example usage.
import { Greater } from '@angular-package/range';

// Define constant `id`.
const id = 390;

// Returns Greater {390} of Greater<390>.
new Greater(id);
```
