⚠ getMin()

Gets the minimum range of a specified `Range` object

Range.prototype.getMin()

The getMin() method gets the minimum range of a specified Range object.

range.class.ts
public getMin(): Min {
  return this.#minimum.valueOf();
}

Return type

Returns

The return value is the minimum range of a generic type variable Min.

Example usage

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

// Create new instance.
const range = new Range(4, 27);

// Returns 4 of type 4.
range.getMin();

Last updated