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

Method AsCustom

common/values/map_value.cc:335–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335optional_ref<const CustomMapValue> MapValue::AsCustom() const& {
336 if (const auto* alternative = variant_.As<CustomMapValue>();
337 alternative != nullptr) {
338 return *alternative;
339 }
340 return absl::nullopt;
341}
342
343absl::optional<CustomMapValue> MapValue::AsCustom() && {
344 if (auto* alternative = variant_.As<CustomMapValue>();

Callers 4

IsMutableListValueFunction · 0.45
IsMutableMapValueFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected