nextBoolean

fun nextBoolean(): Boolean

Generates a random boolean.

Return

returns true or false randomly