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

Function is_object

3rd/nlohmann_json/single_include/nlohmann/json.hpp:20211–20214  ·  view source on GitHub ↗

! @brief return whether value is an object This function returns true if and only if the JSON value is an object. @return `true` if type is object, `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_object()` for all JSON types.,is_object}

Source from the content-addressed store, hash-verified

20209 @since version 1.0.0
20210 */
20211 constexpr bool is_object() const noexcept
20212 {
20213 return m_type == value_t::object;
20214 }
20215
20216 /*!
20217 @brief return whether value is an array

Callers 15

is_structuredFunction · 0.70
get_impl_ptrFunction · 0.70
atFunction · 0.70
operator[]Function · 0.70
json.hppFile · 0.70
valueFunction · 0.70
eraseFunction · 0.70
findFunction · 0.70
countFunction · 0.70
containsFunction · 0.70
push_backFunction · 0.70
emplaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected