Synopsis Test whether a set is empty.
Function bool isEmpty(set[&T] st)
Usage import Set;
Description Yields true
if s
is empty, and false
otherwise.
Examples rascal>import Set;
ok
rascal>isEmpty({1, 2, 3});
bool: false
rascal>isEmpty({});
bool: true
Questions
Question [1].
Question [2].