mirror of
https://github.com/nushell/nushell.git
synced 2025-08-17 07:51:19 +02:00
Experiment: Allow both $true/true and $false/false (#4696)
* Change true/false to keywords * oops, clippy * Both kinds of bools * Add in some boolean variables * disable py virtualenv test for now
This commit is contained in:
@ -18,12 +18,12 @@ Convert value to boolean
|
||||
|
||||
Convert value to boolean in table
|
||||
```shell
|
||||
> echo [[value]; ['false'] ['1'] [0] [1.0] [$true]] | into bool value
|
||||
> echo [[value]; ['false'] ['1'] [0] [1.0] [true]] | into bool value
|
||||
```
|
||||
|
||||
Convert bool to boolean
|
||||
```shell
|
||||
> $true | into bool
|
||||
> true | into bool
|
||||
```
|
||||
|
||||
convert integer to boolean
|
||||
|
Reference in New Issue
Block a user