Elm compares values using these operators:
Operator | Meaning |
---|---|
== |
Equal |
/= |
Not Equal |
> |
Greater than |
< |
Less than |
>= |
Greater than or equal to |
<= |
Less than or equal to |
max |
Find the larger of two |
min |
Find the smaller of two |
> (5 == 5)
True
> 1 /= 2
True
> 10 < 7
False
> 100 > 99
True
> 7 >= 10
False
> 9 <= 9
True
> max 5 6
6
> min 3 8
3