← Docs
kotlin-stdlib / kotlin / UShort / rangeUntil

rangeUntil

Common
JVM
JS
Native
1.9
operator fun rangeUntil ( other : UShort ) : UIntRange
(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.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .