Method
lt_op
(&self, other: &Box<dyn Value>)
Source from the content-addressed store, hash-verified
| 216 | } |
| 217 | |
| 218 | fn lt_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> { |
| 219 | if let Some(other_bool) = other.as_any().downcast_ref::<BoolValue>() { |
| 220 | return Ok(Box::new(BoolValue::new(!self.value & other_bool.value))); |
| 221 | } |
| 222 | Err("Unexpected type to perform `<` with".to_string()) |
| 223 | } |
| 224 | |
| 225 | fn group_lt_op( |
| 226 | &self, |
Callers
nothing calls this directly
Tested by
no test coverage detected