greaterThanEvery()

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

Inequality.prototype.greaterThanEvery()

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

inequality.class.ts
public greaterThanEvery(...values: number[]): boolean {
  return this.#greater.thanEvery(...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 every value of the given values.

Example usage

Last updated

Was this helpful?