operator &(Boolean&Boolean...)Boolean

Checks if all items are true.

The items are checked left-to-right and are not evaluated beyond the first false item. See the first example for how this is useful.

ExamplesClick an example to insert it
(list length([6, 7]) >= 2) & (element([6, 7], 2) = 5)falseWill not cause an error because list size is checked before getting the item.
("a" = "a") & ("a" <> "b")true
true & true & falsefalse