Method
lt_op
(&self, other: &Box<dyn Value>)
Source from the content-addressed store, hash-verified
| 224 | } |
| 225 | |
| 226 | fn lt_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> { |
| 227 | if let Some(other_bool) = other.as_any().downcast_ref::<FloatValue>() { |
| 228 | let value = self.value < other_bool.value; |
| 229 | return Ok(Box::new(BoolValue::new(value))); |
| 230 | } |
| 231 | Err("Unexpected type to perform `<` with".to_string()) |
| 232 | } |
| 233 | |
| 234 | fn group_lt_op( |
| 235 | &self, |
Callers
nothing calls this directly
Tested by
no test coverage detected