This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

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

This pages describes features, codes or syntax whose use is now DEPRECATED, i.e. not advised either for new or continued pre-existing use.

Deprecated aspects of Tinderbox may be supported on a legacy basis but the latter support can't be presumed to be indefinite. Therefore you should update your active TBX documents to latest practice as soon as practical.

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


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.

Possible relevant notes (via "Similar Notes" feature):

A Tinderbox Reference File : Deprecated Usage : Deprecated Export Codes : ^every( group , attribute[, data] )^ (DEPRECATED)