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

Method IsEmpty

common/values/map_value.cc:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126absl::StatusOr<bool> MapValue::IsEmpty() const {
127 return variant_.Visit([](const auto& alternative) -> absl::StatusOr<bool> {
128 return alternative.IsEmpty();
129 });
130}
131
132absl::StatusOr<size_t> MapValue::Size() const {
133 return variant_.Visit([](const auto& alternative) -> absl::StatusOr<size_t> {

Callers 14

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
EqualMethod · 0.45
operator==Function · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
EqualMethod · 0.45
operator==Function · 0.45

Calls 1

VisitMethod · 0.45

Tested by 10

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
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36