operator * method

Range<TYPE>? operator *(
  1. Range<TYPE> that
)

Operator for the intersection of this range and another range.

that The other range to intersect with.

Returns a range that represents the intersection of the two ranges, or null if the ranges do not intersect.

Implementation

Range<TYPE>? operator *(Range<TYPE> that) => intersect(that);