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

Function is_null

3rd/nlohmann_json/single_include/nlohmann/json.hpp:20052–20055  ·  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

20050 @since version 1.0.0
20051 */
20052 constexpr bool is_null() const noexcept
20053 {
20054 return m_type == value_t::null;
20055 }
20056
20057 /*!
20058 @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