Navigation
Synopsis Superset operator on set values.
Syntax Exp1 >= Exp2
Types
Exp1 Exp2 Exp1 >= Exp2
set[T1] set[T2] bool
Description Yields true if the value of Exp1 is a superset of the value of Exp2 and false otherwise.
Examples
rascal>{1, 2, 3, 4} >= {3, 2, 1};
bool: true
rascal>{1, 2, 3, 4} >= {4, 3, 2, 1};
bool: true

Questions
Question [1].
The type of {$2034-11-04T04:33:20.972+01:00$, $2013-11-04T23:16:20.849+01:00$} >= {$2039-07-03$, $2029-06-03$, $2091-04-05$, $1990-01-06T15:25:32.311+01:00$} is

Question [2].
{5,72,43,17,52,60,29,62,38,70} >= {17, 62, 52, 72, 29} == 

Question [3].
{"Yoda", "Bert", "Blackberry"} >= {"Yoda", "Bert", "Blackberry"} == 



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.