> 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/minimum/methods/static-create.md).

# static create()

## `Minimum.create()`

The static `create()` method creates the [`Minimum`](/range-1/minimum/overview.md) instance with the given primitive [`value`](#value-value).

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

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

{% endcode %}

### Generic type variables

#### <mark style="color:green;">`Value`</mark>`extends`[<mark style="color:green;">`number`</mark>](https://www.typescriptlang.org/docs/handbook/basic-types.html#number)

A generic type variable indicates captured type of the supplied [`value`](#value-value) via the [return type](#return-type).

### Parameters

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

The minimum number of generic type variable [`Value`](#valueextendsnumber) to set with a new instance.

### Return type

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

The **return type** is the [`Minimum`](/range-1/minimum/overview.md) [primitive wrapper object](https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript) that takes the generic type variable [`Value`](#valueextendsnumber).

### Returns

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

## Example usage

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

// Returns Minimum {27} of Minimum<27>.
Minimum.create(27);
```
