operator - method

NumberLine<T> operator -(
  1. num offset
)

Shifts the sequence by subtracting offset consistently from boundaries.

Implementation

NumberLine<T> operator -(num offset) =>
    NumberLine<T>((start - offset) as T, (end - offset) as T, step: step);