Skip to main content

random_int

Function random_int 

Source
pub fn random_int(lo: i64, hi: i64) -> Result<i64, String>
Expand description

randomInt(lo, hi) — a uniform draw from lo..=hi through the one system seam (a sealed test world decides it), or the refusal of a range whose low bound is above its high bound, which every host words alike.