MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / contains

Method contains

atomic-core/src/crdt/apply/order.rs:428–430  ·  view source on GitHub ↗
(&self, id: &Id)

Source from the content-addressed store, hash-verified

426 /// Checks if the sequence contains an element with the given ID.
427 #[inline]
428 pub fn contains(&self, id: &Id) -> bool {
429 self.elements.contains(id)
430 }
431
432 /// Finds the index of an element by ID.
433 #[inline]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected