unaryMinus

operator fun IntRange.unaryMinus(): Slice<T, V>(source)

Creates a range slice using Kotlin's until operator.

This enables syntax like: segment { 5 until 20 }

Receiver

the IntRange to convert to a slice (exclusive end)

Return

a Range slice descriptor