Related subjects →  Operator .


imagen.

This is a logical operator that allows two classes of elements to be selected in a restrictive way, since their qualities must be nested. Its use is equivalent to telling PitStop: "...and from that selected, only those which are...".

Warning: The difference between "AND" and "OR" as logical operators is that "AND" restricts the selection, while "OR" broadens it: "AND" implies a subset within a set (the selected elements must have both qualities at the same time). "OR" implies two distinct sets (the selected elements are only required to have one of the qualities).

Imagen.

As both chosen qualities must be nested, we cannot use mutually exclusive qualities. And, if nested qualities are used, it is important to be sure about their hierarchy, otherwise the results may be unexpected.

To exclude qualities we must use the "NOT" operator.