nextLong

suspend fun Random.nextLong(): Long(source)
suspend fun Random.nextLong(from: Long, until: Long): Long(source)

Generates a random integer.

See also

Standard library.

Prepared value equivalent.