^every( group , attribute[, data] )^

Tinderbox Icon

^every( group, attribute)^

Returns true if every member of the group has a value for the given attribute. Example:

^every(child, 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 (added in v2.5.0) allows for an attribute value to be tested. Example:

^every(child, 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.


Up: Group-based
  Next: ^any( group , attribute[, data] )^ 

[Last updated: 3 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox