Tinderbox v10 Icon

ChildCount


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute UI-configurable? 

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute in Current Baseline: 

Attribute Last Altered: 

 number   [other number-type attributes]

 (calculated)

 General   [other General Group attributes]

 Calculated data

 No

 No

 Yes   [other read-only attributes]

 No

 v1.0.0

 Baseline

 As at baseline


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.

The count excludes adornments, which are counted in $AdornmentCount.

Usually, rules and queries to test whether a note has children will test $ChildCount. But for export 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.


See also—notes linking to here: