⚠ getMin()

Gets the minimum range of a specified `Range` object

Range.prototype.getMin()

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 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