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

Method LosslessConvertibleToUint

internal/number.h:249–251  ·  view source on GitHub ↗

For key lookups, check if the conversion to unsigned int is lossless.

Source from the content-addressed store, hash-verified

247
248 // For key lookups, check if the conversion to unsigned int is lossless.
249 CEL_ABSL_VISIT_CONSTEXPR bool LosslessConvertibleToUint() const {
250 return absl::visit(internal::LosslessConvertibleToUintVisitor(), value_);
251 }
252
253 CEL_ABSL_VISIT_CONSTEXPR bool operator<(Number other) const {
254 return Compare(other) == internal::ComparisonResult::kLesser;

Callers 8

EvaluateInMapFunction · 0.80
LookupInMapFunction · 0.80
MapEqualFunction · 0.80
TESTFunction · 0.80
MapOptIndexOptionalValueFunction · 0.80

Tested by 1

TESTFunction · 0.64