MCPcopy Create free account
hub / github.com/douchuan/algorithm / is_empty

Method is_empty

src/strings/tries.rs:70–72  ·  view source on GitHub ↗

Is this symbol table empty

(&self)

Source from the content-addressed store, hash-verified

68
69 /// Is this symbol table empty
70 pub fn is_empty(&self) -> bool {
71 self.n == 0
72 }
73
74 /// Does this symbol table contain the given key?
75 pub fn contains(&self, key: &str) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected