Functions Index :: A :: And
Module:
Definition:
And(val x1, val "x2", val "x3", val "x4", ... , val "x20")
Description:
Returns the result of the AND of its arguments. [1]
Possible usage includes combination of multiple tests in Assert() statements, bitwise flags testing, etc.
Examples:
d = And(true, true, false) # d == false
a = And(1 < 2, 2 < 3, d == false) # a == true
[1]: The function can handle up to 20 arguments. This number is chosen as a good balance between usability and speed. If more arguments are needed use an array and the ArraySum function, or a suitable function of the array package.