> For the complete documentation index, see [llms.txt](https://docs.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://docs.angular-package.dev/range-1/maximum/constructor.md).

# ★ Constructor

## `Maximum()`

Creates the [`Maximum`](/range-1/maximum/overview.md) 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>](/range-1/maximum/generic-type-variables.md#maximum-less-than-value-greater-than)

The value of the generic type variable [`Value`](/range-1/maximum/generic-type-variables.md#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);
```
