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

^any( 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

 format"


DEPRECATED - use ^value(any())^. See ^value^, any().

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

A new family of HTML Export Markup Elements operates on groups of notes. Returns true if any member of the group has a value for the given attribute. Example:

^any(children, MyAttribute)^ 

Returns true if any of the group has a value for the attribute 'MyAttribute', and false otherwise. Always false if there are no members of group.

The extended syntax allows for an attribute value (data) to be tested. Example:

^any("children", $MyStatus, "Ready")^ 

Returns any 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 any() operator may be used.


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


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