@microsoft/microsoft-graph-client
Version:
Microsoft Graph Client Library
42 lines (37 loc) • 954 B
text/typescript
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
/**
* @module Range
*/
/**
* @class
* Class representing Range
*/
export class Range {
/**
* @public
* The minimum value of the range
*/
public minValue: number;
/**
* @public
* The maximum value of the range
*/
public maxValue: number;
/**
* @public
* @constructor
* Creates a range for given min and max values
* @param {number} [minVal = -1] - The minimum value.
* @param {number} [maxVal = -1] - The maximum value.
* @returns An instance of a Range
*/
public constructor(minVal = -1, maxVal = -1) {
this.minValue = minVal;
this.maxValue = maxVal;
}
}