MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / AsParsedMapField

Method AsParsedMapField

common/value.cc:2192–2198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2190}
2191
2192optional_ref<const ParsedMapFieldValue> Value::AsParsedMapField() const& {
2193 if (const auto* alternative = variant_.As<ParsedMapFieldValue>();
2194 alternative != nullptr) {
2195 return *alternative;
2196 }
2197 return absl::nullopt;
2198}
2199
2200absl::optional<ParsedMapFieldValue> Value::AsParsedMapField() && {
2201 if (auto* alternative = variant_.As<ParsedMapFieldValue>();

Callers 3

LegacyTrivialMapValueFunction · 0.45
EqualMethod · 0.45
EqualMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected