absl::operator<=

Returns whether one duration is less than or equal to another.

Synopsis

Declared in <absl/time/time.h>

constexpr
bool
operator<=(
    Duration lhs,
    Duration rhs);

Return Value

true if lhs is less than or equal to rhs.

Parameters

NameDescription
lhsThe left-hand duration.
rhsThe right-hand duration.