nushell/docs/commands/random_bool.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

391 B

title layout version
random bool command 0.59.0

Generate a random boolean value

Signature

> random bool --bias

Parameters

  • --bias {number}: 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