← Docs
kotlin-stdlib / kotlin.ranges / OpenEndRange / endExclusive

endExclusive

Common
JVM
JS
Native
1.0
abstract val endExclusive : T
(source)

The maximum value in the range (exclusive).

Exceptions

IllegalStateException - can be thrown if the exclusive end bound cannot be represented with a value of type T .

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 .