MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / is_object

Function is_object

Source/Utils/json.hpp:19050–19053  ·  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 J

Source from the content-addressed store, hash-verified

19048 @since version 1.0.0
19049 */
19050 constexpr bool is_object() const noexcept
19051 {
19052 return m_type == value_t::object;
19053 }
19054
19055 /*!
19056 @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