omni::operator<=

Defined in omni/String.h

bool omni::operator<=(const string &lhs, const std::string &rhs) noexcept

Compares lhs and rhs.

All comparisons are done lexicographically using omni::string::compare().

Parameters
  • lhs – Left hand side of the comparison.

  • rhs – Right hand side of the comparison.

Returns

true if lhs is less than or equal to rhs, false otherwise.