Code Type:
Code Scope of Action:
Code First Added:
Code Altered:
Boolean Comparison [other codes of this type]
group [codes with similar scope]
Already in v5.0.0
format"
DEPRECATED - use ^value(every())^. See ^value^, every().
^every( group, attribute)^
Returns true if every member of the group has a value for the given attribute. Example:
^every(children, MyAttribute)^
Returns true if every of the group has a value for the attribute 'MyAttribute', and false otherwise. Always true if there are no members of group.
The extended syntax allows for an attribute value (data) to be tested. Example:
^every(children, MyStatus, Ready)^
Returns every child of the current note for whom the attribute 'MyStatus' has a value of 'Ready'.
The extended syntax for group operators applies only to ^any^ and ^every^.
Internally, the every() operator may be used.