Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KentBeck/BPlusTree3
/ is_empty
Method
is_empty
rust/src/tree_structure.rs:37–39 ·
view source on GitHub ↗
Returns true if the tree is empty.
(&self)
Source
from the content-addressed store, hash-verified
35
36
/// Returns true if the tree is empty.
37
pub fn is_empty(&self) -> bool {
38
self.len() == 0
39
}
40
41
/// Returns true if the root is a leaf node.
42
pub fn is_leaf_root(&self) -> bool {
Callers
1
get_first_leaf_id
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected