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

Function AsLegacyStructValue

common/values/legacy_struct_value.cc:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36absl::optional<LegacyStructValue> AsLegacyStructValue(const Value& value) {
37 if (IsLegacyStructValue(value)) {
38 return GetLegacyStructValue(value);
39 }
40 return absl::nullopt;
41}
42
43} // namespace cel::common_internal

Callers 4

LegacyTrivialStructValueFunction · 0.85
EqualMethod · 0.85
ProtoMessageFromValueFunction · 0.85

Calls 2

IsLegacyStructValueFunction · 0.85
GetLegacyStructValueFunction · 0.85

Tested by

no test coverage detected