bits xor
for bits> bits xor {flags} (target)
target
: target integer to perform bit xorinput | output |
---|---|
int | int |
list<int> | list<int> |
Apply bits xor to two numbers
>2|bits xor2
0
Apply logical xor to a list of numbers
> [832] |bits xor2
╭───┬────╮
│0│10│
│1│1│
│2│0│
╰───┴────╯
Tips: Command bits xor
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_xor.html