> 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/range/properties/max.md).

# max!

## `Range.prototype.max`

The `max` read-only property is the maximum range of generic type variable [`Max`](/draft/range/generic-type-variables.md#range-less-than-min-max-step-greater-than-1) of a specified [`Range`](/draft/range/overview.md) object.

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

```typescript
public readonly max!: Max;
```

{% endcode %}

### Type

#### [<mark style="color:green;">`Max`</mark>](/draft/range/generic-type-variables.md#range-less-than-min-max-step-greater-than-1)

## Example usage

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

// Create new instance.
// Returns Range {min: 4, max: 27, value: 5} of Range<4, 27, 1>.
const range = new Range(4, 27, 5);

// Returns 27 of type 27.
range.max;
```
