(&self, other: &Box<dyn Value>)
| 141 | } |
| 142 | |
| 143 | fn gt_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> { |
| 144 | if let Some(other_text) = other.as_any().downcast_ref::<DateValue>() { |
| 145 | return Ok(Box::new(BoolValue::new( |
| 146 | self.timestamp > other_text.timestamp, |
| 147 | ))); |
| 148 | } |
| 149 | Err("Unexpected type to perform `>` with".to_string()) |
| 150 | } |
| 151 | |
| 152 | fn group_gt_op( |
| 153 | &self, |
no test coverage detected