★ Constructor

The `Less` primitive wrapper object constructor

Less()

Creates the Less instance with the given value.

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

Parameters

value:Value

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

Example usage

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

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

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

Last updated