intersection method

Range? intersection(
  1. Range range
)

Intersect range with this range and returns a new range or undefined if the ranges have no overlap.

@param range A range. @returns A range of the greater start and smaller end positions. Will return undefined when there is no overlap.

Implementation

_i3.Range? intersection(_i3.Range range) => _i5.callMethod(
      this,
      'intersection',
      [range],
    );