skbio.tree.BPTree.is_tip#

BPTree.is_tip(i)[source]#

Whether the node is a tip of a tree.

Parameters:
iint

Index of the node to evaluate.

Returns:
bool

Whether the node is a tip of a tree or not.