![]() |
| ||||||
Navigation |
Synopsis Less than or equal operator on string values.
Syntax
Exp1 <= Exp2
Types
Description Yields
true if the string value of Exp1 is lexicographically less
than the string value of Exp2 or if both string are equal, and false otherwise.
Examples
rascal>"abc" <= "abc"; bool: true rascal>"abc" <= "abcdef"; bool: true rascal>"abc" <= "defghi"; bool: true rascal>"abc" <= "a"; bool: false ![]() |