>: 1<2;into Hope. Hope replies:
>> true : boolThis means the value of
1<2 is true and the type of 1<2
is bool which is short for boolean.
Now try:
>: 1>2;Hope replies:
>> false : boolThis means the value of
1>2 is false and the type of 1>2
is boolean.
The values true and false are the only values whose type is boolean. Every boolean expression evaluates to either
true or false.