Elm - Relational Operators



Illustration

Open the elm REPL and execute the following operations −

> a = 10
10 : number
> b = 20
20 : number
> a>b
False : Bool
> a<b
True : Bool
> a>=b
False : Bool
> a<=b
True : Bool
> a==b
False : Bool
> a/=b
True : Bool
False : Bool
> a/=b
True : Bool
Advertisements