compareBoundaryPoints

external fun compareBoundaryPoints(how: Range.CompareMethod, sourceRange: Range): Short(source)

The compareBoundaryPoints() method of the Range interface compares the boundary points of the Range with those of another range.

MDN Reference