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

Function GetLegacyStructValue

common/values/legacy_struct_value.cc:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31LegacyStructValue GetLegacyStructValue(const Value& value) {
32 ABSL_DCHECK(IsLegacyStructValue(value));
33 return value.variant_.Get<LegacyStructValue>();
34}
35
36absl::optional<LegacyStructValue> AsLegacyStructValue(const Value& value) {
37 if (IsLegacyStructValue(value)) {

Callers 1

AsLegacyStructValueFunction · 0.85

Calls 1

IsLegacyStructValueFunction · 0.85

Tested by

no test coverage detected