af_core::random
pub fn ratio<T: Number + SampleUniform>(numerator: T, denominator: T) -> bool
Returns true with a probability expressed by the ratio between two given numbers.
true