static create()

Creates the Minimum instance with the given primitive value

Minimum.create()

The static create() method creates the Minimum instance with the given primitive value.

minimum.class.ts
public static create<Value extends number>(value: Value): Minimum<Value> {
  return new this(value);
}

Generic type variables

A generic type variable indicates captured type of the supplied value via the return type.

Parameters

value:Value

The minimum number of generic type variable Value to set with a new instance.

Return type

Minimum<Value>

The return type is the Minimum primitive wrapper objectarrow-up-right that takes the generic type variable Value.

Returns

The return value is the Minimum instance with the primitive value of the given value.

Example usage

Last updated