or Null
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0" )
Content copied to clipboard
Create a new arbitrary of the same type but inject null values with a probability of nullProbability
.
This is a type-safe version of Arbitrary.injectNull().
Return
a new arbitrary instance
Parameters
null Probability
the probability. ≥ 0 and ≤ 1.