MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / is_empty

Method is_empty

crates/data-structures/src/small_map.rs:139–141  ·  view source on GitHub ↗

Returns whether the map is empty.

(&self)

Source from the content-addressed store, hash-verified

137
138 /// Returns whether the map is empty.
139 pub fn is_empty(&self) -> bool {
140 self.len() == 0
141 }
142
143 /// Returns an iterator over all the key-value pairs in the map.
144 pub fn iter(&self) -> impl ExactSizeIterator<Item = (&K, &V)> {

Callers 4

add_extra_errorsMethod · 0.45
collect_all_errorsMethod · 0.45
runMethod · 0.45
recv_manyFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected