max!

The maximum range of a specified `Range` object

Range.prototype.max

The max read-only property is the maximum range of generic type variable Max of a specified Range object.

range.class.ts
public readonly max!: Max;

Type

Example usage

// Example usage.
import { Range } from '@angular-package/range';

// Create new instance.
// Returns Range {min: 4, max: 27, value: 5} of Range<4, 27, 1>.
const range = new Range(4, 27, 5);

// Returns 27 of type 27.
range.max;

Last updated