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

Method MapOrDie

eval/public/cel_value.h:341–343  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

339 // Returns stored const CelMap * value.
340 // Fails if stored value type is not const CelMap *.
341 const CelMap* MapOrDie() const {
342 return GetValueOrDie<const CelMap*>(Type::kMap);
343 }
344
345 // Returns stored const CelTypeHolder value.
346 // Fails if stored value type is not CelTypeHolder.

Callers 14

TEST_FFunction · 0.80
TESTFunction · 0.80
ExportAsProtoValueFunction · 0.80
CelValueToValueFunction · 0.80
TEST_FFunction · 0.80
StructFromValueFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80
TEST_PFunction · 0.80
TEST_PFunction · 0.80
HomogenousCelValueEqualFunction · 0.80

Calls

no outgoing calls

Tested by 8

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