![]() |
| ||||||
Navigation |
Synopsis Negated membership test on the keys of a map.
Syntax
Exp1 notin Exp2
Types
Description Yields
true if the value of Exp1 does not occur as key in the map value of Exp2 and false otherwise.
The type of Exp1 should be compatible with the key type TK of Exp2 .
Examples
rascal>"pineapple" notin ("apple": 1, "pear": 2); bool: true rascal>"pear" notin ("apple": 1, "pear": 2); bool: false ![]() |