mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
Add 'and' and 'or' operators (#5297)
This commit is contained in:
@ -4000,8 +4000,8 @@ pub fn parse_operator(
|
||||
b"in" => Operator::In,
|
||||
b"not-in" => Operator::NotIn,
|
||||
b"mod" => Operator::Modulo,
|
||||
b"&&" => Operator::And,
|
||||
b"||" => Operator::Or,
|
||||
b"&&" | b"and" => Operator::And,
|
||||
b"||" | b"or" => Operator::Or,
|
||||
b"**" => Operator::Pow,
|
||||
_ => {
|
||||
return (
|
||||
|
Reference in New Issue
Block a user