Method
gt_op
(&self, other: &Box<dyn Value>)
Source from the content-addressed store, hash-verified
| 148 | } |
| 149 | |
| 150 | fn gt_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> { |
| 151 | if let Some(other_bool) = other.as_any().downcast_ref::<BoolValue>() { |
| 152 | return Ok(Box::new(BoolValue::new(self.value & !other_bool.value))); |
| 153 | } |
| 154 | Err("Unexpected type to perform `>` with".to_string()) |
| 155 | } |
| 156 | |
| 157 | fn group_gt_op( |
| 158 | &self, |
Callers
nothing calls this directly
Tested by
no test coverage detected