greaterThanSome()

Checks whether the primitive value of a child instance is greater than some given values

Inequality.prototype.greaterThanSome()

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

inequality.class.ts
public greaterThanSome(...values: number[]): boolean {
  return this.#greater.thanSome(...values);
}

Parameters

...values: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 some given values.

Example usage

Last updated