nextLong

Gets the next random Long from the random number generator in the specified range.

Generates a Long random value uniformly distributed in the specified range: from range.start inclusive to range.endInclusive inclusive.

Since Kotlin

1.3

Throws