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 : Attribute Data Types : Number Attributes : ChildCount | aTbRef Site Map |
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 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: Number Attributes | |
Previous: Border | Next: DescendantCount |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]