I would like to figure out, if the value of a variable is either one or two.
The strange thing is that the result of x == 1 is of type Bool, but bitwise or, "|" makes a difference between (x == 1) and x == 1, is this an expected behaviour?
x = 1
x == 1 | x == 2 # result false
(x == 1) | (x == 2) # result true
b = x == 1 # b is of type "Bool"
println(typeof(b))