Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ is_branch
Method
is_branch
src/tree/binary/node.rs:244–246 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
242
}
243
244
pub fn is_branch(&self) -> bool {
245
!self.is_leaf()
246
}
247
248
pub fn left(&self) -> Self {
249
let v = Node::left(self.node);
Callers
1
replace_max_by_min
Function · 0.80
Calls
1
is_leaf
Method · 0.80
Tested by
no test coverage detected