static create()
Creates the Less instance with the given primitive value
Less.create()
Less.create()Creates the Less instance with the given primitive value.
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
The value of generic type variable Value to set with a newly created instance.
Return type
The return type is the Less primitive wrapper object 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
// Example usage.
import { Greater } from '@angular-package/range';
// Define constant `id`.
const id = 390;
// Returns Less {390} of Less<390>.
Less.create(id);Last updated