MCPcopy Create free account
hub / github.com/RetypeOS/parcode / is_empty

Method is_empty

src/reader.rs:1077–1079  ·  view source on GitHub ↗

Checks if the container is empty.

(&self)

Source from the content-addressed store, hash-verified

1075
1076 /// Checks if the container is empty.
1077 pub fn is_empty(&self) -> bool {
1078 self.len() == 0
1079 }
1080
1081 /// Helper internal: Locates the shard node and local index for a global index.
1082 /// Used by `ParcodeCollectionPromise::get_lazy`.

Callers 2

iterMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected