MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / is_object

Function is_object

native/thirdpart/json/json.hpp:16850–16853  ·  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

16848 @since version 1.0.0
16849 */
16850 constexpr bool is_object() const noexcept
16851 {
16852 return m_type == value_t::object;
16853 }
16854
16855 /*!
16856 @brief return whether value is an array

Callers 15

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

Calls

no outgoing calls

Tested by

no test coverage detected