(&self, other: &Box<dyn Value>)
| 177 | } |
| 178 | |
| 179 | fn gte_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> { |
| 180 | if let Some(other_text) = other.as_any().downcast_ref::<DateValue>() { |
| 181 | return Ok(Box::new(BoolValue::new( |
| 182 | self.timestamp >= other_text.timestamp, |
| 183 | ))); |
| 184 | } |
| 185 | Err("Unexpected type to perform `>=` with".to_string()) |
| 186 | } |
| 187 | |
| 188 | fn group_gte_op( |
| 189 | &self, |
no test coverage detected