Tinderbox v9 Icon

^nextSibling^


Export Code Type: 

Export Code Scope of Action: 

Export Code First Added: 

Export Code Last Altered: 

 Boolean Comparison   [other codes of this type]

 item   [codes with similar scope]

 Baseline

 As at baseline


^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.