nushell/docs/commands/random_bool.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

390 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