MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / as_node

Method as_node

graphlite/src/storage/value.rs:286–291  ·  view source on GitHub ↗

Extract as node if possible

(&self)

Source from the content-addressed store, hash-verified

284
285 /// Extract as node if possible
286 pub fn as_node(&self) -> Option<&Node> {
287 match self {
288 Value::Node(n) => Some(n),
289 _ => None,
290 }
291 }
292
293 /// Extract as edge if possible
294 pub fn as_edge(&self) -> Option<&Edge> {

Callers 1

evaluate_is_predicateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected