! @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
| 18890 | @since version 1.0.0 |
| 18891 | */ |
| 18892 | constexpr bool is_null() const noexcept |
| 18893 | { |
| 18894 | return m_type == value_t::null; |
| 18895 | } |
| 18896 | |
| 18897 | /*! |
| 18898 | @brief return whether value is a boolean |
no outgoing calls
no test coverage detected