forked from extern/nushell
Add band
and bor
operator for bit operations (#5936)
* Add `band` and `bor` Operator * Add tests
This commit is contained in:
@ -4106,6 +4106,8 @@ pub fn parse_operator(
|
||||
b"in" => Operator::In,
|
||||
b"not-in" => Operator::NotIn,
|
||||
b"mod" => Operator::Modulo,
|
||||
b"bor" => Operator::BitOr,
|
||||
b"band" => Operator::BitAnd,
|
||||
b"bshl" => Operator::ShiftLeft,
|
||||
b"bshr" => Operator::ShiftRight,
|
||||
b"starts-with" => Operator::StartsWith,
|
||||
|
Reference in New Issue
Block a user