mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
389 B
389 B
random bool
Generate a random boolean value
Usage
> random bool {flags}
Flags
- -h, --help: Display this help message
- -b, --bias : Adjusts the probability of a "true" outcome
Examples
Generate a random boolean value
> random bool
Generate a random boolean value with a 75% chance of "true"
> random bool --bias 0.75