Function boolean [src]
Prototype
pub fn boolean(r: Random) bool
Parameters
r: Random
Source
pub fn boolean(r: Random) bool {
return r.int(u1) != 0;
}
pub fn boolean(r: Random) bool
r: Random
pub fn boolean(r: Random) bool {
return r.int(u1) != 0;
}