bits or
for bits> bits or {flags} (target)
target
: target integer to perform bit orinput | output |
---|---|
int | int |
list<int> | list<int> |
Apply bits or to two numbers
>2|bits or6
6
Apply logical or to a list of numbers
> [832] |bits or2
╭───┬────╮
│0│10│
│1│3│
│2│2│
╰───┴────╯
Tips: Command bits or
was not included in the official binaries by default, you have to build it with --features=extra
flag
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/bits_or.html