MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / is_structured

Function is_structured

3rd/nlohmann_json/single_include/nlohmann/json.hpp:20030–20033  ·  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

20028 @since version 1.0.0
20029 */
20030 constexpr bool is_structured() const noexcept
20031 {
20032 return is_array() || is_object();
20033 }
20034
20035 /*!
20036 @brief return whether value is null

Callers 1

json.hppFile · 0.70

Calls 2

is_arrayFunction · 0.70
is_objectFunction · 0.70

Tested by

no test coverage detected