MCPcopy Create free account
hub / github.com/ActiveState/code / isEmptyNode

Method isEmptyNode

recipes/Python/577898_23_Tree/recipe-577898.py:171–173  ·  view source on GitHub ↗

Returns true if node doesn't containt any value

(self)

Source from the content-addressed store, hash-verified

169 return self.refcnt == 0
170
171 def isEmptyNode(self):
172 """ Returns true if node doesn't containt any value """
173 return self.valcnt == 0
174
175 def getLink(self, linkIdx):
176 """ Get link by its index, return None if there is no link with such an index """

Callers 1

__fixNodeRemoveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected