MCPcopy
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / hasAnyChildren

Method hasAnyChildren

AVL.py:28–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 return not (self.rightChild or self.leftChild)
27
28 def hasAnyChildren(self):
29 return self.rightChild or self.leftChild
30
31 def hasBothChildren(self):
32 return self.rightChild and self.leftChild

Callers 1

spliceOutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected