> 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/methods/getmin.md).

# ⚠ getMin()

## `Range.prototype.getMin()`

{% hint style="danger" %}
**Deprecated**: This feature is no longer recommended. Avoid using it, and update existing code if possible. Be aware that this feature may cease to work at any time.
{% endhint %}

The `getMin()` method gets the **minimum** range of a specified [`Range`](/draft/range/overview.md) object.

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

```typescript
public getMin(): Min {
  return this.#minimum.valueOf();
}
```

{% endcode %}

### Return type

#### [<mark style="color:green;">`Min`</mark>](/draft/range/generic-type-variables.md#minextendsnumber)

### Returns

The **return value** is the [**minimum**](https://range.angular-package.dev/draft/range/methods/pages/UGBxh1tB0YNadfDcttUF#range.prototype.min) range of a generic type variable [`Min`](/draft/range/generic-type-variables.md#minextendsnumber).

## Example usage

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

// Create new instance.
const range = new Range(4, 27);

// Returns 4 of type 4.
range.getMin();
```
