TreeReader.count

counts and returns number of nodes in the tree

  1. uinteger count()
    struct TreeReader(T)
    count
    ()
  2. uinteger count(bool function(TreeNode!(T)*) doCount)

Return Value

Type: uinteger

the number of nodes in the tree, counting all child-nodes and their child-nodes and so on

Meta