num_branches
Usage
num_branches(tree: Tree<t>) → Int
Arguments
-
tree: -
The tree in question
Description
Get the number of branches of a tree.
Examples
num_branches(tree)
num_branchesnum_branches(tree: Tree<t>) → Int
tree:
The tree in question
Get the number of branches of a tree.
num_branches(tree)