Operator Scope of Action:
Operator First Added:
This Boolean operator examines a group of notes and determines whether the value of every note in the group meets a criterion.
value may be any valid expression, but will usually be a reference to an attribute; short form Boolean attribute expressions are acceptable.
value must not be enclosed in quotes.
every(children,$Overdue) (using short from test)
every(children,!$Overdue) (using short from test)
Be aware that a counter-intuitive edge case occurs if the group is empty. Thus, every() is false if value is false for any designated note. If there are no designated notes at all, i.e. group is empty, every() is therefore true, whereas the user might have assumed no outcome and thus no true result. If problematic to the user's intent, this condition can be worked around by first ensuring that group contains something. In the above example, that uses the group 'children', a modification can be used, like this:
$ChildCount>0 & every(children,$Overdue==true)
See also: any().