This version is out of date, covering development as far as v4.2.5. 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 |
ChildCount |
Attribute Data Type: | number |
Attribute Default Value: | (not set - 0) |
Atrribute Group: | General |
Attribute Inherited from Preferences? | No |
Attribute Read-Only? | Yes |
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 ^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: General Attributes | |
Next: Container |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]