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

28 lines
390 B
Markdown

---
title: random bool
layout: command
version: 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
```shell
> random bool
```
Generate a random boolean value with a 75% chance of "true"
```shell
> random bool --bias 0.75
```