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)