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

Method IsEmpty

common/values/string_value.cc:147–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147bool StringValue::IsEmpty() const {
148 return NativeValue(
149 [](const auto& alternative) -> bool { return alternative.empty(); });
150}
151
152bool StringValue::Equals(absl::string_view string) const {
153 return value_.Equals(string);

Callers 2

SplitMethod · 0.45
ReplaceMethod · 0.45

Calls 2

NativeValueFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected