join

fun join(connectedRange: Range<T>): Range<T>

Joins this and a connectedRange by building the span.

Return

joined Range

Parameters

connectedRange

other range that must be connected to this range