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

Function has_value

common/constant.h:225–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 ABSL_MUST_USE_RESULT bool has_value() const {
226 return !absl::holds_alternative<absl::monostate>(kind());
227 }
228
229 ABSL_MUST_USE_RESULT bool has_null_value() const {
230 return absl::holds_alternative<std::nullptr_t>(kind());

Callers 4

VariableDeclClass · 0.85
optional_refClass · 0.85
operator->Method · 0.85
expr.hFile · 0.85

Calls 1

kindFunction · 0.50

Tested by

no test coverage detected