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

Method eq

atomic-core/src/kg/ontology.rs:241–243  ·  view source on GitHub ↗
(&self, other: &&str)

Source from the content-addressed store, hash-verified

239}
240impl PartialEq<&str> for Predicate {
241 fn eq(&self, other: &&str) -> bool {
242 self.iri() == *other
243 }
244}
245impl PartialEq<str> for Predicate {
246 fn eq(&self, other: &str) -> bool {

Callers

nothing calls this directly

Calls 1

iriMethod · 0.80

Tested by

no test coverage detected