This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Attributes : System Attribute List : ChildCount||aTbRef Site Map|
|Attribute Data Type:||number|
|Attribute Default Value:||(not set - 0)|
|Attribute Inherited from Preferences?||No|
Returns (read-only) the number of children belonging to the current note. 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(^childLinks)^... is better if you want the expression to be false if the note has children BUT none of the children are exported.
|Up: System Attribute List|
|Previous: BorderColor||Next: Color|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]