infix and

Documentation for infix and assembled from the following types:

language documentation Operators

From Operators

(Operators) infix and

Same as infix &&, except with looser precedence.

Short-circuits so that it returns the first operand that evaluates to False, otherwise returns the last operand. Note that and is easy to misuse, see traps.