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

Function is_object

3rd/nlohmann_json/include/nlohmann/json.hpp:2710–2713  ·  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

2708 @since version 1.0.0
2709 */
2710 constexpr bool is_object() const noexcept
2711 {
2712 return m_type == value_t::object;
2713 }
2714
2715 /*!
2716 @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