operator + method

List<Range<TYPE>> operator +(
  1. Range<TYPE> that
)

Operator for the union of this range and another range.

that The other range to union with.

Returns a list of ranges that represent the union of the two ranges.

Implementation

List<Range<TYPE>> operator +(Range<TYPE> that) => union(that);