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

Function is_null

3rd/nlohmann_json/include/nlohmann/json.hpp:2551–2554  ·  view source on GitHub ↗

! @brief return whether value is null This function returns true if and only if the JSON value is null. @return `true` if type is null, `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_null()` for all JSON types.,is_null} @since versio

Source from the content-addressed store, hash-verified

2549 @since version 1.0.0
2550 */
2551 constexpr bool is_null() const noexcept
2552 {
2553 return m_type == value_t::null;
2554 }
2555
2556 /*!
2557 @brief return whether value is a boolean

Callers 7

is_primitiveFunction · 0.70
operator[]Function · 0.70
json.hppFile · 0.70
push_backFunction · 0.70
emplace_backFunction · 0.70
emplaceFunction · 0.70
updateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected