> 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/range/methods/static-createminimum.md).

# static createMinimum()

## `Range.createMinimum()`

The static `createMinimum()` method returns the [`Minimum`](/minimum/overview.md) instance of the given **minimum** [`value`](#value-value).

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

```typescript
public static createMinimum<Value extends number>(
  value: Value
): Minimum<Value> {
  return Minimum.create(value);
}
```

{% endcode %}

### Generic type variables

#### <mark style="color:green;">`Value`</mark>`extends`<mark style="color:green;">`number`</mark>

​A generic type variable constrained by the [`number`](https://www.typescriptlang.org/docs/handbook/basic-types.html#number), by default of the value **captured** from the supplied [`value`](#value-value) indicates the [primitive value](https://range.angular-package.dev/range/methods/pages/EVBRc6yvosmzogLoQiK2#minimum.prototype.valueof) type of a new [`Minimum`](/minimum/overview.md) instance.

### Parameters

#### `value:`[<mark style="color:green;">`Value`</mark>](#valueextendsnumber)

The **minimum** range of a generic type variable [`Value`](#valueextendsnumber) to set with a new instance of [`Minimum`](/minimum/overview.md).

### Return type

#### [<mark style="color:green;">`Minimum`</mark>](/minimum/overview.md)`<`[<mark style="color:green;">`Value`</mark>](#valueextendsnumber)`>`

The **return type** is the [`Minimum`](/minimum/overview.md) object that takes generic type variable [`Value`](#valueextendsnumber).

### Returns

The **return value** is the [`Minimum`](/minimum/overview.md) instance with the [primitive value](https://range.angular-package.dev/range/methods/pages/EVBRc6yvosmzogLoQiK2#minimum.prototype.valueof) from the given [`value`](#value-value).

## Example usage

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

// Returns Minimum {4} of Minimum<4>.
Range.createMinimum(4);
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://range.angular-package.dev/range/methods/static-createminimum.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
