kotest-property / io.kotest.property.arbitrary / choice

choice

fun <A> Arb.Companion.choice(vararg gens: Gen<A>): Arb<A>

Randomly selects one of the given generators to generate the next element. The input must be non-empty.