⚠ getMax()
Gets the maximum range of a specified `Range` object
Range.prototype.getMax()
The getMax() method gets the maximum range of a specified Range object.
public getMax(): Max {
return this.#maximum.valueOf();
}Return type
Max
Returns
The return value is the maximum range of a generic type variable Max.
Example usage
// Example usage.
import { Range } from '@angular-package/range';
// Create new instance.
const range = new Range(4, 27);
// Returns 27 of type 27.
range.getMax();Last updated