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

Method is_null

include/boost/json/value.hpp:1313–1317  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1311 No-throw guarantee.
1312 */
1313 bool
1314 is_null() const noexcept
1315 {
1316 return kind() == json::kind::null;
1317 }
1318
1319 /** Checks if this is an @ref array or an @ref object.
1320

Callers 15

operator[]Method · 0.80
path.cppFile · 0.80
testSpecialMethod · 0.80
testConversionMethod · 0.80
testAssignmentMethod · 0.80
testModifiersMethod · 0.80
testExchangeMethod · 0.80
testObserversMethod · 0.80
testInitListMethod · 0.80
usingValuesFunction · 0.80
testGeneralMethod · 0.80
testOptionalMethod · 0.80

Calls 1

kindEnum · 0.85

Tested by

no test coverage detected