Produces the result(s) of performing a logical AND operation on multiple values (or multiple pairs of values).
<and true,false>
produces false
.
<and true,true,true>
produces true
.
<and true,false with=true>
produces true,false
.
<and true,false with=false>
produces false,false
.
<and true with=false,true,false>
produces false,true,false
.
<and true,true,false with={},{something},150>
produces false,true,false
.
The tag's primary field takes a list of one or more values which may be evaluated as true or false.
When the (optional) with
field is not used, the result produced by the tag is the result of logically AND-ing
together all of all values in the primary field, (meaning all elements must be true for the result to be true).
with
:
Optional. Takes a second value or list of values for a distributive or pairwise AND operation, causing the tag to produce
multiple result elements instead of a single result.In a logical AND operation between two values, the result is true if both values evaluate to true. For the and tag, more than 2 values may be specified in a single comparison, in which case all values must be true for the result to be true.