mirror of
https://github.com/nushell/nushell.git
synced 2024-12-03 05:44:09 +01:00
390 B
390 B
title | layout | version |
---|---|---|
random bool | command | 0.59.1 |
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