nextLong

fun Random.nextLong(progression: LongProgression): Long

Gets the next random Long from the random number generator in the specified progression. Generates a Long random value uniformly distributed in the specified progression.

Since

1.1.0

See also

Random.nextLong

Throws

IllegalArgumentException

if progression is empty.