bool
import { bool } from "https://git.sr.ht/~ruivieira/deno-experiments/blob/master/randomjs/mod.ts";
Returns a boolean Distribution with 50% probability of being true or false
§
bool(): Distribution<boolean>
[src]Returns a boolean Distribution with 50% probability of being true or false
§Return Type
§
Distribution<boolean>
[src]§
bool(percentage: number): Distribution<boolean>
[src]Returns a boolean Distribution with the provided percentage
of being true
§Return Type
§
Distribution<boolean>
[src]