MCPcopy Create free account
hub / github.com/boostorg/json / is_object

Method is_object

include/boost/json/value.hpp:1205–1209  ·  view source on GitHub ↗

Check if this is an @ref object. Returns `true` if the value's @ref kind() is `kind::object`. @returns `this->kind() == kind::object`. @par Complexity Constant. @par Exception Safety No-throw guarantee. */

Source from the content-addressed store, hash-verified

1203 No-throw guarantee.
1204 */
1205 bool
1206 is_object() const noexcept
1207 {
1208 return kind() == json::kind::object;
1209 }
1210
1211 /** Check if this is a @ref string.
1212

Callers 10

tag_invokeFunction · 0.80
testSpecialMethod · 0.80
testConversionMethod · 0.80
testAssignmentMethod · 0.80
testObserversMethod · 0.80
usingValuesFunction · 0.80
usingInitListsFunction · 0.80
usingExchangeFunction · 0.80
usingSetAtPointerFunction · 0.80
testAssociativeMethod · 0.80

Calls 1

kindEnum · 0.85

Tested by

no test coverage detected