span

fun span(): Range<T>

Returns the minimal range that encloses the range set.