or Null
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.