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

Method AsParsedJsonList

common/value.cc:2128–2134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2126}
2127
2128optional_ref<const ParsedJsonListValue> Value::AsParsedJsonList() const& {
2129 if (const auto* alternative = variant_.As<ParsedJsonListValue>();
2130 alternative != nullptr) {
2131 return *alternative;
2132 }
2133 return absl::nullopt;
2134}
2135
2136absl::optional<ParsedJsonListValue> Value::AsParsedJsonList() && {
2137 if (auto* alternative = variant_.As<ParsedJsonListValue>();

Callers 3

LegacyTrivialListValueFunction · 0.45
EqualMethod · 0.45
EqualMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected