kotest-assertions / io.kotest.properties / Gen / filter

filter

open fun filter(pred: (T) -> Boolean): Gen<T>
Deprecated: Deprecated and will be removed in 5.0. Migrate to the new property test classes in 4.0

Create a new Gen by filtering the output of this gen.