xarray.DataTree.is_leaf

Contents

xarray.DataTree.is_leaf#

property DataTree.is_leaf#

Whether this node is a leaf node.

Leaf nodes are defined as nodes which have no children.