MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / operator<=

Method operator<=

internal/number.h:257–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 }
256
257 CEL_ABSL_VISIT_CONSTEXPR bool operator<=(Number other) const {
258 internal::ComparisonResult cmp = Compare(other);
259 return cmp != internal::ComparisonResult::kGreater &&
260 cmp != internal::ComparisonResult::kNanInequal;
261 }
262
263 CEL_ABSL_VISIT_CONSTEXPR bool operator>(Number other) const {
264 return Compare(other) == internal::ComparisonResult::kGreater;

Callers

nothing calls this directly

Calls 1

CompareFunction · 0.85

Tested by

no test coverage detected