Returns True if the current node has no children.
Returns: | bool
|
---|
See also
Examples
>>> from six import StringIO
>>> from skbio import TreeNode
>>> tree = TreeNode.read(StringIO("((a,b)c);"))
>>> print(tree.is_tip())
False
>>> print(tree.find('a').is_tip())
True