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

Function is_null

Source/Utils/json.hpp:18891–18894  ·  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 ty

Source from the content-addressed store, hash-verified

18889 @since version 1.0.0
18890 */
18891 constexpr bool is_null() const noexcept
18892 {
18893 return m_type == value_t::null;
18894 }
18895
18896 /*!
18897 @brief return whether value is a boolean

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected