greaterThan()

Checks whether the primitive value of a child class is greater than the given value

Inequality.prototype.greaterThan()

Checks whether the primitive value of a child class instance is greater than the given value.

inequality.class.ts
public greaterThan(value: number): boolean {
  return this.#greater.than(value);
}

Parameters

value:number

A rest parameter of the numbers to test.

Return type

Returns

The return value is a boolean indicating whether the primitive value of a child class instance is greater than the given value.

Example usage

Last updated