This version is out of date, covering development from v6.0.0 to v6.6.5. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

TinderboxSix Icon

^nextSibling^


Code Type: 

Code Scope of Action: 

Code First Added: 

Code Altered: 

 Boolean Comparison   [other codes of this type]

 item   [codes with similar scope]

 Baseline

 format"


^nextSibling^

A simple Boolean test for whether the currently processed note has a next sibling (N.B. not always the original's next sibling). This is useful for export context where differing output is required when the current note is the last sibling.

This test also solves the problem of testing for siblings when when exporting agent aliases or mixed original/alias siblings.

Example:

^if(^nextSibling^)^... 

The test is analogous to testing nextSibling or lastSibling in an action code context.



A Tinderbox Reference File : Export Codes : Export Codes - Full Listing : ^nextSibling^