copy

fun copy(range: Range): Range

Sets this range to the lower bound and upper bound of a specified range.

Return

this range with its lower bound and upper bound set to that of the specified range

Parameters

range

the range specifying the new values