Closed PierreBarrat closed 11 months ago
isinternal is the opposite of isleaf.
isinternal
isleaf
tree = parse_newick_string("(A,B)R;") isinternal(tree.root) # true isinternal(tree["A"]) # false
isinternal
is the opposite ofisleaf
.