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

Method ListOrDie

eval/public/cel_value.h:335–337  ·  view source on GitHub ↗

Returns stored const CelList* value. Fails if stored value type is not const CelList*.

Source from the content-addressed store, hash-verified

333 // Returns stored const CelList* value.
334 // Fails if stored value type is not const CelList*.
335 const CelList* ListOrDie() const {
336 return GetValueOrDie<const CelList*>(Type::kList);
337 }
338
339 // Returns stored const CelMap * value.
340 // Fails if stored value type is not const CelMap *.

Callers 15

TEST_FFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
ExportAsProtoValueFunction · 0.80
CelValueToValueFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
ListFromValueFunction · 0.80
TEST_FFunction · 0.80
TEST_PFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_PFunction · 0.64
TESTFunction · 0.64
TEST_PFunction · 0.64
TEST_PFunction · 0.64
BM_ListComprehensionFunction · 0.64