![]() |
| ||||||
Navigation |
Synopsis Strict supermap operator on map values.
Syntax
Exp1 > Exp2
Types
Description Yields
true if all key/value pairs in the map value of Exp2 occur in the map value Exp1
and the values of Exp1 and EXp2 are not equal, and false otherwise.
Examples
rascal>("pear": 2, "apple": 1, "banana" : 3) > ("apple": 1, "pear": 2); bool: true rascal>("apple": 1, "banana" : 3) > ("apple": 1, "pear": 2); bool: false ![]() |