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

Method BoolOrDie

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

Returns stored boolean value. Fails if stored value type is not boolean.

Source from the content-addressed store, hash-verified

280 // Returns stored boolean value.
281 // Fails if stored value type is not boolean.
282 bool BoolOrDie() const { return GetValueOrDie<bool>(Type::kBool); }
283
284 // Returns stored int64 value.
285 // Fails if stored value type is not int64.

Callers 15

TEST_FFunction · 0.80
RecordImplMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TestStringInclusionMethod · 0.80
TEST_FFunction · 0.80
TestComparisonMethod · 0.80
TestLogicalOperationMethod · 0.80
TestInListMethod · 0.80
TestInDeprecatedListMethod · 0.80
TestInFunctionListMethod · 0.80
TestInMapMethod · 0.80

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TestStringInclusionMethod · 0.64
TEST_FFunction · 0.64
TestComparisonMethod · 0.64
TestLogicalOperationMethod · 0.64
TestInListMethod · 0.64
TestInDeprecatedListMethod · 0.64
TestInFunctionListMethod · 0.64
TestInMapMethod · 0.64
TestInDeprecatedMapMethod · 0.64