nushell/crates/nu-engine
Stefan Holderbach 2ccb91dc6a
Add logical xor operator (#7242)
We already have the binary `bit-xor` and the shortcircuiting logical
`or`(`||`) and `and`(`&&`).
This introduces `xor` as a compact form for both brevity and clarity.
You can express the operation through `not`/`and`/`or` with a slight
risk of introducing bugs through typos.

Operator precedence

`and` > `xor` > `or`

Added logic and precedence tests.
2022-11-26 17:02:37 +01:00
..
src Add logical xor operator (#7242) 2022-11-26 17:02:37 +01:00
Cargo.toml Remove accidental strip-ansi-escapes after #6938 (#7115) 2022-11-12 17:12:40 +01:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00