Relational Operators
In the following lesson, you will be introduced to relational operators.
Relational operators are operators that perform operations which compare operands of numeric types. For example, less than and greater than. Below is a list of the relational operators supported by Scala.
Operator | Use |
---|---|
> |
Checks if the value of the left operand is greater than the value of the right operand |
< |