# ★ Constructor

## `Maximum()`

Creates the [`Maximum`](https://range.angular-package.dev/maximum) instance of the given primitive [`value`](#value-value).

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

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

{% endcode %}

### `Parameters`

#### `value:`[<mark style="color:green;">`Value`</mark>](https://range.angular-package.dev/generic-type-variables#maximum-less-than-value-greater-than)

The value of the generic type variable [`Value`](https://range.angular-package.dev/generic-type-variables#maximum-less-than-value-greater-than) is the primitive value of the new instance.

## Example usage

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

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

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