computeLength method

T computeLength(
  1. T maximum,
  2. T minimum
)

Computes the length: maximum - minimum.

Implementation

T computeLength(T maximum, T minimum) {
  var max = toNum(maximum)!;
  var min = toNum(minimum)!;
  var length = max - min;
  return toValue(length);
}