static create()

Creates the Less instance with the given primitive value

Less.create()

Creates the Less instance with the given primitive value.

less.class.ts
public static create<Value extends number>(value: Value): Less<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 value of generic type variable Value to set with a newly created instance.

Return type

Less<Value>

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

Returns

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

Example usage

Last updated