rangeTo method

Range<double> rangeTo(
  1. double toInclusive
)

Creates a range from this value to the specified toInclusive value, inclusively.

Implementation

Range<double> rangeTo(double toInclusive) => Range.range(this, toInclusive);