frequency

@API(status = API.Status.EXPERIMENTAL, since = "1.6.2")
fun <T> frequency(vararg frequencies: Pair<Int, T>): Arbitrary<out T>

Function to create arbitrary that generates one of the provided values with a given frequency.

This is a Kotlin convenience for Arbitraries.frequency which takes Pairs instead of jqwik tuples.