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

Function CheckArgument

internal/overflow.cc:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58absl::Status CheckArgument(bool valid_expression,
59 absl::string_view error_message) {
60 return valid_expression ? absl::OkStatus()
61 : absl::InvalidArgumentError(error_message);
62}
63
64// Determine whether the duration is finite.
65bool IsFinite(absl::Duration d) {

Callers 2

CheckedDivFunction · 0.85
CheckedModFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected