Navigation
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
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.