| 34 | } |
| 35 | |
| 36 | absl::optional<LegacyStructValue> AsLegacyStructValue(const Value& value) { |
| 37 | if (IsLegacyStructValue(value)) { |
| 38 | return GetLegacyStructValue(value); |
| 39 | } |
| 40 | return absl::nullopt; |
| 41 | } |
| 42 | |
| 43 | } // namespace cel::common_internal |
no test coverage detected