pub fn to_prob(v: &Value) -> OpResult<f64>
A value used as a probability (chance weights, bernoulli, binomial…): a prob or a number checked at this boundary. Booleans need prob(b).
bernoulli
binomial
prob
prob(b)