mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
96a1bf5f8d
* Change true/false to keywords * oops, clippy * Both kinds of bools * Add in some boolean variables * disable py virtualenv test for now
581 B
581 B
title | layout | version |
---|---|---|
into bool | command | 0.59.0 |
Convert value to boolean
Signature
> into bool ...rest
Parameters
...rest
: column paths to convert to boolean (for table input)
Examples
Convert value to boolean in table
> echo [[value]; ['false'] ['1'] [0] [1.0] [true]] | into bool value
Convert bool to boolean
> true | into bool
convert integer to boolean
> 1 | into bool
convert decimal string to boolean
> '0.0' | into bool
convert string to boolean
> 'true' | into bool