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

Method GetStringKey

base/attribute.h:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 absl::optional<absl::string_view> GetStringKey() const {
86 return absl::holds_alternative<std::string>(value_)
87 ? absl::optional<absl::string_view>(absl::get<3>(value_))
88 : absl::nullopt;
89 }
90
91 absl::optional<bool> GetBoolKey() const {
92 return absl::holds_alternative<bool>(value_)

Callers 6

TESTFunction · 0.80
QualifyMethod · 0.80
MapKeyFromQualifierFunction · 0.80
FallbackSelectFunction · 0.80
ToStringFunction · 0.80
LookupMapValueFunction · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
ToStringFunction · 0.64