★ Constructor

The `Minimum` primitive wrapper object constructor

Minimum()

Creates the Minimum instance of the given primitive value.

minimum.class.ts
constructor(value: Value) {
  super(value);
}

Parameters

value:Value

The value of the generic type variable Value is the primitive value of the new instance.

Example usage

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

// Define constant `id`.
const id = 390;

// Returns Minimum {390} of Minimum<390>.
new Minimum(id);

Last updated