endExclusive

Common
JVM
JS
Native
1.7
@ExperimentalStdlibApi val endExclusive: UInt
(source)
Deprecated: Can throw an exception when it's impossible to represent the value with UInt 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.