rangeUntil

expect operator fun rangeUntil(other: Byte): IntRange(source)
expect operator fun rangeUntil(other: Short): IntRange(source)
expect operator fun rangeUntil(other: Int): IntRange(source)
expect operator fun rangeUntil(other: Long): LongRange(source)

Creates a range from this value up to but excluding the specified other value.

If the other value is less than or equal to this value, then the returned range is empty.

Since Kotlin

1.9
actual operator fun rangeUntil(other: Byte): IntRange(source)
actual operator fun rangeUntil(other: Short): IntRange(source)
actual operator fun rangeUntil(other: Int): IntRange(source)
actual operator fun rangeUntil(other: Long): LongRange(source)

Creates a range from this value up to but excluding the specified other value.

If the other value is less than or equal to this value, then the returned range is empty.

Since Kotlin

1.9
operator fun rangeUntil(other: Byte): IntRange(source)
operator fun rangeUntil(other: Short): IntRange(source)
operator fun rangeUntil(other: Int): IntRange(source)
operator fun rangeUntil(other: Long): LongRange(source)

Creates a range from this value up to but excluding the specified other value.

If the other value is less than or equal to this value, then the returned range is empty.

Since Kotlin

1.9
actual operator fun rangeUntil(other: Byte): IntRange(source)
actual operator fun rangeUntil(other: Short): IntRange(source)
actual operator fun rangeUntil(other: Int): IntRange(source)
actual operator fun rangeUntil(other: Long): LongRange(source)

Creates a range from this value up to but excluding the specified other value.

If the other value is less than or equal to this value, then the returned range is empty.

Since Kotlin

1.9
actual operator fun rangeUntil(other: Byte): IntRange(source)
actual operator fun rangeUntil(other: Short): IntRange(source)
actual operator fun rangeUntil(other: Int): IntRange(source)
actual operator fun rangeUntil(other: Long): LongRange(source)

Creates a range from this value up to but excluding the specified other value.

If the other value is less than or equal to this value, then the returned range is empty.

Since Kotlin

1.9
actual operator fun rangeUntil(other: Byte): IntRange(source)
actual operator fun rangeUntil(other: Short): IntRange(source)
actual operator fun rangeUntil(other: Int): IntRange(source)
actual operator fun rangeUntil(other: Long): LongRange(source)

Creates a range from this value up to but excluding the specified other value.

If the other value is less than or equal to this value, then the returned range is empty.

Since Kotlin

1.9