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


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute Altered: 

 number   [other number-type attributes]


 General   [other General Group attributes]

 Calculated data




 Already in v5.0.0


Number of children belonging to the current note (read-only).

This returns the count of direct children (i.e. one level down) and not all descendants. For a count (usually larger) of all notes below this see $DescendantCount.

Usually, rules and queries to test whether a note has children will test $ChildCount. But for export use if you want the expression to be false if the note has children but none of the children are exported, then using ^if(^childLinks^)^ …is better.

Note that the count includes adornments.

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

A Tinderbox Reference File : Attributes : Attribute Data Types : Number Attributes : ChildCount