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

Method IsError

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

Source from the content-addressed store, hash-verified

389 bool IsCelType() const { return value_.is<CelTypeHolder>(); }
390
391 bool IsError() const { return value_.is<const CelError*>(); }
392
393 // Invokes op() with the active value, and returns the result.
394 // All overloads of op() must have the same return type.

Callers 15

TESTFunction · 0.45
ExpectResultFunction · 0.45
CheckNoSuchKeyErrorFunction · 0.45
HasFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
ExpectResultFunction · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
ExpectResultFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
ExpectResultFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36