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

Function GetLegacyMapValue

common/values/legacy_map_value.cc:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50LegacyMapValue GetLegacyMapValue(const Value& value) {
51 ABSL_DCHECK(IsLegacyMapValue(value));
52 return value.variant_.Get<LegacyMapValue>();
53}
54
55absl::optional<LegacyMapValue> AsLegacyMapValue(const Value& value) {
56 if (IsLegacyMapValue(value)) {

Callers 1

AsLegacyMapValueFunction · 0.85

Calls 1

IsLegacyMapValueFunction · 0.85

Tested by

no test coverage detected