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

Method LosslessConvertibleToInt

internal/number.h:244–246  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

242
243 // For key lookups, check if the conversion to signed int is lossless.
244 CEL_ABSL_VISIT_CONSTEXPR bool LosslessConvertibleToInt() const {
245 return absl::visit(internal::LosslessConvertibleToIntVisitor(), value_);
246 }
247
248 // For key lookups, check if the conversion to unsigned int is lossless.
249 CEL_ABSL_VISIT_CONSTEXPR bool LosslessConvertibleToUint() const {

Callers 9

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

Tested by 1

TESTFunction · 0.64