(&self)
| 335 | } |
| 336 | |
| 337 | pub fn value_dyn(&self) -> &dyn Value { |
| 338 | self.local_value |
| 339 | .as_deref() |
| 340 | .or(self.staged_value.as_deref()) |
| 341 | .or(self.session_value.as_deref()) |
| 342 | .or(self.default_value.as_deref()) |
| 343 | .unwrap_or_else(|| self.definition.value.value()) |
| 344 | } |
| 345 | |
| 346 | /// Returns the [`Value`] that is currently stored as the `session_value`. |
| 347 | /// |
no test coverage detected