Navigation
Synopsis Equality operator on maps.
Syntax Exp1 == Exp2
Types
Exp1 Exp2 Exp1 == Exp2
map[TK1,TV2] map[TK2, TV2] bool
Description Yields true if both arguments contain the same key/value pairs, and false otherwise.
Examples
rascal>("apple": 1, "pear": 2) == ("pear": 2, "apple": 1);
bool: true
rascal>("apple": 1, "pear": 2) == ("apple": 1, "banana": 3) 
bool: false
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.