endExclusive

Common
JVM
JS
Native
1.9
val endExclusive: Long
(source)
Deprecated: Can throw an exception when it's impossible to represent the value with Long type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.

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.