method boolean.random
Contract
Return typewob
Parameter keyDefault valueType
true_probability0.5double
Water Contract
<method boolean.random
  true_probability=0.5/>

See also: random, random, random

Returns true or false with equal probability, just like flipping a coin.
boolean.<random/>
returns true or false The first argument is true_probability (Default 0.5) This determines the probability that true will be returned.
boolean.<random 0.75/>
returns true 75 percent of the time.