Comparison Operators
e == f |
e is equal to f |
e != f |
e is NOT equal to f |
e < f |
e is less than f |
e > f |
e is greater f |
e <= f |
e is less than or equal to f |
| e >= f
| e
is greater or equal to f
|
let (e, f) = (1, 100);
let greater = f > e; // => true
let less = f < e; // => false
let greater\_equal = f >= e; // => true
let less\_equal = e <= f; // => true
let equal\_to = e == f; // => false
let not\_equal\_to = e != f; // => true
Comments