MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / is_structured

Function is_structured

dependencies/json/json.hpp:18953–18956  ·  view source on GitHub ↗

! @brief return whether type is structured This function returns true if and only if the JSON type is structured (array or object). @return `true` if type is structured (array or object), `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_str

Source from the content-addressed store, hash-verified

18951 @since version 1.0.0
18952 */
18953 constexpr bool is_structured() const noexcept
18954 {
18955 return is_array() || is_object();
18956 }
18957
18958 /*!
18959 @brief return whether value is null

Callers

nothing calls this directly

Calls 2

is_arrayFunction · 0.70
is_objectFunction · 0.70

Tested by

no test coverage detected