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

Method isRightChild

AVL.py:19–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 return self.parent and self.parent.leftChild == self
18
19 def isRightChild(self):
20 return self.parent and self.parent.rightChild == self
21
22 def isRoot(self):
23 return not self.parent

Callers 3

updateBalanceMethod · 0.45
rotateRightMethod · 0.45
removeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected