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

Method IsZeroValue

common/values/map_value.cc:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120bool MapValue::IsZeroValue() const {
121 return variant_.Visit([](const auto& alternative) -> bool {
122 return alternative.IsZeroValue();
123 });
124}
125
126absl::StatusOr<bool> MapValue::IsEmpty() const {
127 return variant_.Visit([](const auto& alternative) -> absl::StatusOr<bool> {

Callers 7

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

VisitMethod · 0.45

Tested by 7

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36