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

Function empty

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

Default empty check. Can be overridden in subclass for performance.

Source from the content-addressed store, hash-verified

553 virtual int size() const = 0;
554 // Default empty check. Can be overridden in subclass for performance.
555 virtual bool empty() const { return size() == 0; }
556
557 virtual ~CelList() {}
558

Callers 5

PeekMethod · 0.50
PopMethod · 0.50
StepMethod · 0.50
PopMethod · 0.50
PopAndPushMethod · 0.50

Calls 1

sizeFunction · 0.50

Tested by

no test coverage detected