upTo method

Range<double> upTo(
  1. double toInclusive
)

Alias for rangeTo(), creates a range from this value to the specified toInclusive value, inclusively.

Implementation

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