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

orNull

open fun orNull(): 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 which will return the values of this gen plus null.