MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / as_any

Method as_any

crates/gitql-core/src/values/interval.rs:45–47  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

43 }
44
45 fn as_any(&self) -> &dyn Any {
46 self
47 }
48
49 fn eq_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> {
50 if let Some(other_interval) = other.as_any().downcast_ref::<IntervalValue>() {

Callers 10

equalsMethod · 0.45
compareMethod · 0.45
eq_opMethod · 0.45
bang_eq_opMethod · 0.45
gt_opMethod · 0.45
gte_opMethod · 0.45
lt_opMethod · 0.45
lte_opMethod · 0.45
add_opMethod · 0.45
sub_opMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected