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

Method AsInt

internal/number.h:232–234  ·  view source on GitHub ↗

Return signed int64 representation for the value. Caller must guarantee the underlying value is representatble as an int.

Source from the content-addressed store, hash-verified

230 // Caller must guarantee the underlying value is representatble as an
231 // int.
232 CEL_ABSL_VISIT_CONSTEXPR int64_t AsInt() const {
233 return absl::visit(internal::ConversionVisitor<int64_t>(), value_);
234 }
235
236 // Return unsigned int64 representation for the value.
237 // Caller must guarantee the underlying value is representable as an

Callers 1

TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36