and: when both conditions must be true
Behavior and details
Use and to ask whether both questions have a true answer. Both values it checks must be Booleans. An operand is simply a value an operator works with: the parts to the left and right of and.
If the left answer is false, the whole answer is already known, so Pliro skips the right part. This is short-circuiting. A skipped part also skips any function call it contains. and groups more tightly than or, while comparisons group before both. Numbers, text, and collections are not automatically turned into yes-or-no answers.
Example
# language: en
let items = []
let found = length(items) > 0 and items[0] == 1
say found
