toRandomCase

private fun Char.toRandomCase(random: Random): Char(source)

Randomly converts this character to uppercase or lowercase using random as a source of randomness.