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

Function IsFinite

internal/overflow.cc:65–67  ·  view source on GitHub ↗

Determine whether the duration is finite.

Source from the content-addressed store, hash-verified

63
64// Determine whether the duration is finite.
65bool IsFinite(absl::Duration d) {
66 return d != absl::InfiniteDuration() && d != -absl::InfiniteDuration();
67}
68
69// Determine whether the time is finite.
70bool IsFinite(absl::Time t) {

Callers 3

CheckedAddFunction · 0.85
CheckedSubFunction · 0.85
CheckedNegationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected