nextLongInclusive

private fun Random.nextLongInclusive(min: Long = Long.MIN_VALUE, max: Long = Long.MAX_VALUE): Long(source)

Similar to Random.nextLong, but min and max are inclusive.