![]() |
| ||||||
Navigation |
Synopsis Negated membership test on set values.
Syntax
Exp1 notin Exp2
Types
Description Yields
true if the value of Exp1 does not occur as element in the value of Exp2 and false otherwise. The type of Exp1 should be compatible with the element type of Exp2 .
Examples
rascal>4 notin {1, 2, 3}; bool: true rascal>4 notin {1, 2, 3, 4}; bool: false Questions
Question [1].
![]() ![]()
Question [2].
![]() ![]()
Question [3].
![]() ![]() ![]() |