Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
240
impl PartialEq<&str> for Predicate {
241
fn eq(&self, other: &&str) -> bool {
242
self.iri() == *other
243
}
244
}
245
impl PartialEq<str> for Predicate {
246
fn eq(&self, other: &str) -> bool {
Callers
nothing calls this directly
Calls
1
iri
Method · 0.80
Tested by
no test coverage detected