⚠ getMax()
Gets the maximum range of a specified `Range` object
Range.prototype.getMax()
Range.prototype.getMax()
Deprecated: This feature is no longer recommended. Avoid using it, and update existing code if possible. Be aware that this feature may cease to work at any time.
The getMax()
method gets the maximum range of a specified Range
object.
public getMax(): Max {
return this.#maximum.valueOf();
}
Return type
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