rBernoulliBoolean

open fun rBernoulliBoolean(pSuccess: Double = 0.5): Boolean

Return

the random value as a Boolean value

Parameters

pSuccess

the probability of success, must be in (0,1)