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

Method IsFalse

common/value.h:492–492  ·  view source on GitHub ↗

Returns `true` if this value is an instance of a bool value and false.

Source from the content-addressed store, hash-verified

490
491 // Returns `true` if this value is an instance of a bool value and false.
492 bool IsFalse() const { return IsBool() && !GetBool().NativeValue(); }
493
494 // Returns `true` if this value is an instance of a bytes value.
495 bool IsBytes() const { return variant_.Is<BytesValue>(); }

Callers 4

TESTFunction · 0.80
StructValueEqualFunction · 0.80
ListValueEqualFunction · 0.80
MapValueEqualFunction · 0.80

Calls 2

GetBoolFunction · 0.85
NativeValueMethod · 0.45

Tested by 1

TESTFunction · 0.64