random bool
for random> random bool {flags}
--bias, -b {number}
: Adjusts the probability of a "true" outcomeinput | output |
---|---|
nothing | bool |
Generate a random boolean value
>random bool
Generate a random boolean value with a 75% chance of "true"
>random bool--bias0.75
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/random_bool.html