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

Method as_any

crates/gitql-core/src/values/float.rs:46–48  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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

Callers 12

equalsMethod · 0.45
compareMethod · 0.45
add_opMethod · 0.45
sub_opMethod · 0.45
mul_opMethod · 0.45
div_opMethod · 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

Calls

no outgoing calls

Tested by

no test coverage detected