MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / operator<=

Function operator<=

Source/Utils/json.hpp:22884–22887  ·  view source on GitHub ↗

! @brief comparison: less than or equal Compares whether one JSON value @a lhs is less than or equal to another JSON value by calculating `not (rhs < lhs)`. @param[in] lhs first JSON value to consider @param[in] rhs second JSON value to consider @return whether @a lhs is less than or equal to @a rhs @complexity Linear. @exceptio

Source from the content-addressed store, hash-verified

22882 @since version 1.0.0
22883 */
22884 friend bool operator<=(const_reference lhs, const_reference rhs) noexcept
22885 {
22886 return !(rhs < lhs);
22887 }
22888
22889 /*!
22890 @brief comparison: less than or equal

Callers

nothing calls this directly

Calls 1

basic_jsonFunction · 0.70

Tested by

no test coverage detected