Synopsis Any combination of argument values is true.
Syntax any ( Exp1, Exp2, ... )
Types Exp1 | Exp2 | ... | any ( Exp1, Exp2, ... ) |
---|
bool | bool | ... | bool |
Description Yields true
when at least one combination of values of Expi
is true.
Examples rascal>any(int n <- [1 .. 10], n % 2 == 0);
bool: true