Elm - 关系运算符
示例
打开 elm REPL 并尝试下面所示的示例 −
C:\Users\admin>elm repl ---- elm-repl 0.18.0 ----------------------------------------------------------- :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl> -------------------------------------------------------------------------------- > 10 > 5 || 20>5 True : Bool > 10 >5 && 20>5 True : Bool > 10 /= 20 True : Bool > not True False : Bool > not (10>20) True : Bool > xor True True False : Bool > xor (10>20) (20>10) True : Bool