Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ is_right
Method
is_right
data_structures/binary_tree/binary_search_tree.py:125–126 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
123
124
@property
125
def
is_right(self) -> bool:
126
return
bool(self.parent and self is self.parent.right)
127
128
129
@dataclass
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected