MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / leaf

Method leaf

launcher/SeparatorPrefixTree.h:180–183  ·  view source on GitHub ↗

is this a leaf node?

Source from the content-addressed store, hash-verified

178
179 /// is this a leaf node?
180 bool leaf() const
181 {
182 return children.isEmpty();
183 }
184
185 /// is this node actually contained in the tree, or is it purely structural?
186 bool contained() const

Callers 1

shouldExpandMethod · 0.80

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected